Class: Writexlsx::Chart::Legend

Inherits:
Object
  • Object
show all
Defined in:
lib/write_xlsx/chart/legend.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeLegend

Returns a new instance of Legend.



10
11
12
# File 'lib/write_xlsx/chart/legend.rb', line 10

def initialize
  @position = 'right'
end

Instance Attribute Details

#delete_seriesObject

Returns the value of attribute delete_series.



8
9
10
# File 'lib/write_xlsx/chart/legend.rb', line 8

def delete_series
  @delete_series
end

#fillObject

Returns the value of attribute fill.



7
8
9
# File 'lib/write_xlsx/chart/legend.rb', line 7

def fill
  @fill
end

#fontObject

Returns the value of attribute font.



8
9
10
# File 'lib/write_xlsx/chart/legend.rb', line 8

def font
  @font
end

#gradientObject

Returns the value of attribute gradient.



7
8
9
# File 'lib/write_xlsx/chart/legend.rb', line 7

def gradient
  @gradient
end

#layoutObject

Returns the value of attribute layout.



8
9
10
# File 'lib/write_xlsx/chart/legend.rb', line 8

def layout
  @layout
end

#lineObject

Returns the value of attribute line.



7
8
9
# File 'lib/write_xlsx/chart/legend.rb', line 7

def line
  @line
end

#patternObject

Returns the value of attribute pattern.



7
8
9
# File 'lib/write_xlsx/chart/legend.rb', line 7

def pattern
  @pattern
end

#positionObject

Returns the value of attribute position.



8
9
10
# File 'lib/write_xlsx/chart/legend.rb', line 8

def position
  @position
end