Module: Libxlsxwriter::ChartAxisWrappers

Included in:
ChartAxis
Defined in:
lib/fast_excel/binding/chart.rb

Overview

Fields:

:title

(ChartTitle)

:num_format

(String)

:default_num_format

(String)

:source_linked

(Integer)

:major_tick_mark

(Integer)

:minor_tick_mark

(Integer)

:is_horizontal

(Integer)

:major_gridlines

(ChartGridline)

:minor_gridlines

(ChartGridline)

:num_font

(ChartFont)

:line

(ChartLine)

:fill

(ChartFill)

:pattern

(ChartPattern)

:is_category

(Integer)

:is_date

(Integer)

:is_value

(Integer)

:axis_position

(Integer)

:position_axis

(Integer)

:label_position

(Integer)

:hidden

(Integer)

:reverse

(Integer)

:has_min

(Integer)

:min

(Float)

:has_max

(Integer)

:max

(Float)

:has_major_unit

(Integer)

:major_unit

(Float)

:has_minor_unit

(Integer)

:minor_unit

(Float)

:interval_unit

(Integer)

:interval_tick

(Integer)

:log_base

(Integer)

:display_units

(Integer)

:display_units_visible

(Integer)

:has_crossing

(Integer)

:crossing_max

(Integer)

:crossing

(Float)

Instance Method Summary collapse

Instance Method Details

#major_gridlines_set_line(line) ⇒ nil

Parameters:

Returns:

  • (nil)

1559
1560
1561
# File 'lib/fast_excel/binding/chart.rb', line 1559

def major_gridlines_set_line(line)
  Libxlsxwriter.chart_axis_major_gridlines_set_line(self, line)
end

#major_gridlines_set_visible(visible) ⇒ nil

Parameters:

  • visible (Integer)

Returns:

  • (nil)

1547
1548
1549
# File 'lib/fast_excel/binding/chart.rb', line 1547

def major_gridlines_set_visible(visible)
  Libxlsxwriter.chart_axis_major_gridlines_set_visible(self, visible)
end

#minor_gridlines_set_line(line) ⇒ nil

Parameters:

Returns:

  • (nil)

1565
1566
1567
# File 'lib/fast_excel/binding/chart.rb', line 1565

def minor_gridlines_set_line(line)
  Libxlsxwriter.chart_axis_minor_gridlines_set_line(self, line)
end

#minor_gridlines_set_visible(visible) ⇒ nil

Parameters:

  • visible (Integer)

Returns:

  • (nil)

1553
1554
1555
# File 'lib/fast_excel/binding/chart.rb', line 1553

def minor_gridlines_set_visible(visible)
  Libxlsxwriter.chart_axis_minor_gridlines_set_visible(self, visible)
end

#offnil

Returns:

  • (nil)

1463
1464
1465
# File 'lib/fast_excel/binding/chart.rb', line 1463

def off()
  Libxlsxwriter.chart_axis_off(self)
end

#set_crossing(value) ⇒ nil

Parameters:

  • value (Float)

Returns:

  • (nil)

1453
1454
1455
# File 'lib/fast_excel/binding/chart.rb', line 1453

def set_crossing(value)
  Libxlsxwriter.chart_axis_set_crossing(self, value)
end

#set_crossing_maxnil

Returns:

  • (nil)

1458
1459
1460
# File 'lib/fast_excel/binding/chart.rb', line 1458

def set_crossing_max()
  Libxlsxwriter.chart_axis_set_crossing_max(self)
end

#set_display_units(units) ⇒ nil

Parameters:

  • units (Integer)

Returns:

  • (nil)

1535
1536
1537
# File 'lib/fast_excel/binding/chart.rb', line 1535

def set_display_units(units)
  Libxlsxwriter.chart_axis_set_display_units(self, units)
end

#set_display_units_visible(visible) ⇒ nil

Parameters:

  • visible (Integer)

Returns:

  • (nil)

1541
1542
1543
# File 'lib/fast_excel/binding/chart.rb', line 1541

def set_display_units_visible(visible)
  Libxlsxwriter.chart_axis_set_display_units_visible(self, visible)
end

#set_fill(fill) ⇒ nil

Parameters:

Returns:

  • (nil)

1436
1437
1438
# File 'lib/fast_excel/binding/chart.rb', line 1436

def set_fill(fill)
  Libxlsxwriter.chart_axis_set_fill(self, fill)
end

#set_interval_tick(unit) ⇒ nil

Parameters:

  • unit (Integer)

Returns:

  • (nil)

1517
1518
1519
# File 'lib/fast_excel/binding/chart.rb', line 1517

def set_interval_tick(unit)
  Libxlsxwriter.chart_axis_set_interval_tick(self, unit)
end

#set_interval_unit(unit) ⇒ nil

Parameters:

  • unit (Integer)

Returns:

  • (nil)

1511
1512
1513
# File 'lib/fast_excel/binding/chart.rb', line 1511

def set_interval_unit(unit)
  Libxlsxwriter.chart_axis_set_interval_unit(self, unit)
end

#set_label_position(position) ⇒ nil

Parameters:

  • position (Integer)

Returns:

  • (nil)

1475
1476
1477
# File 'lib/fast_excel/binding/chart.rb', line 1475

def set_label_position(position)
  Libxlsxwriter.chart_axis_set_label_position(self, position)
end

#set_line(line) ⇒ nil

Parameters:

Returns:

  • (nil)

1430
1431
1432
# File 'lib/fast_excel/binding/chart.rb', line 1430

def set_line(line)
  Libxlsxwriter.chart_axis_set_line(self, line)
end

#set_log_base(log_base) ⇒ nil

Parameters:

  • log_base (Integer)

Returns:

  • (nil)

1493
1494
1495
# File 'lib/fast_excel/binding/chart.rb', line 1493

def set_log_base(log_base)
  Libxlsxwriter.chart_axis_set_log_base(self, log_base)
end

#set_major_tick_mark(type) ⇒ nil

Parameters:

  • type (Integer)

Returns:

  • (nil)

1499
1500
1501
# File 'lib/fast_excel/binding/chart.rb', line 1499

def set_major_tick_mark(type)
  Libxlsxwriter.chart_axis_set_major_tick_mark(self, type)
end

#set_major_unit(unit) ⇒ nil

Parameters:

  • unit (Float)

Returns:

  • (nil)

1523
1524
1525
# File 'lib/fast_excel/binding/chart.rb', line 1523

def set_major_unit(unit)
  Libxlsxwriter.chart_axis_set_major_unit(self, unit)
end

#set_max(max) ⇒ nil

Parameters:

  • max (Float)

Returns:

  • (nil)

1487
1488
1489
# File 'lib/fast_excel/binding/chart.rb', line 1487

def set_max(max)
  Libxlsxwriter.chart_axis_set_max(self, max)
end

#set_min(min) ⇒ nil

Parameters:

  • min (Float)

Returns:

  • (nil)

1481
1482
1483
# File 'lib/fast_excel/binding/chart.rb', line 1481

def set_min(min)
  Libxlsxwriter.chart_axis_set_min(self, min)
end

#set_minor_tick_mark(type) ⇒ nil

Parameters:

  • type (Integer)

Returns:

  • (nil)

1505
1506
1507
# File 'lib/fast_excel/binding/chart.rb', line 1505

def set_minor_tick_mark(type)
  Libxlsxwriter.chart_axis_set_minor_tick_mark(self, type)
end

#set_minor_unit(unit) ⇒ nil

Parameters:

  • unit (Float)

Returns:

  • (nil)

1529
1530
1531
# File 'lib/fast_excel/binding/chart.rb', line 1529

def set_minor_unit(unit)
  Libxlsxwriter.chart_axis_set_minor_unit(self, unit)
end

#set_name(name) ⇒ nil

Parameters:

  • name (String)

Returns:

  • (nil)

1398
1399
1400
# File 'lib/fast_excel/binding/chart.rb', line 1398

def set_name(name)
  Libxlsxwriter.chart_axis_set_name(self, name)
end

#set_name_font(font) ⇒ nil

Parameters:

Returns:

  • (nil)

1412
1413
1414
# File 'lib/fast_excel/binding/chart.rb', line 1412

def set_name_font(font)
  Libxlsxwriter.chart_axis_set_name_font(self, font)
end

#set_name_range(sheetname, row, col) ⇒ nil

Parameters:

  • sheetname (String)
  • row (Integer)
  • col (Integer)

Returns:

  • (nil)

1406
1407
1408
# File 'lib/fast_excel/binding/chart.rb', line 1406

def set_name_range(sheetname, row, col)
  Libxlsxwriter.chart_axis_set_name_range(self, sheetname, row, col)
end

#set_num_font(font) ⇒ nil

Parameters:

Returns:

  • (nil)

1418
1419
1420
# File 'lib/fast_excel/binding/chart.rb', line 1418

def set_num_font(font)
  Libxlsxwriter.chart_axis_set_num_font(self, font)
end

#set_num_format(num_format) ⇒ nil

Parameters:

  • num_format (String)

Returns:

  • (nil)

1424
1425
1426
# File 'lib/fast_excel/binding/chart.rb', line 1424

def set_num_format(num_format)
  Libxlsxwriter.chart_axis_set_num_format(self, num_format)
end

#set_pattern(pattern) ⇒ nil

Parameters:

Returns:

  • (nil)

1442
1443
1444
# File 'lib/fast_excel/binding/chart.rb', line 1442

def set_pattern(pattern)
  Libxlsxwriter.chart_axis_set_pattern(self, pattern)
end

#set_position(position) ⇒ nil

Parameters:

  • position (Integer)

Returns:

  • (nil)

1469
1470
1471
# File 'lib/fast_excel/binding/chart.rb', line 1469

def set_position(position)
  Libxlsxwriter.chart_axis_set_position(self, position)
end

#set_reversenil

Returns:

  • (nil)

1447
1448
1449
# File 'lib/fast_excel/binding/chart.rb', line 1447

def set_reverse()
  Libxlsxwriter.chart_axis_set_reverse(self)
end