Class: Writexlsx::Chart::Legend
- Inherits:
-
Object
- Object
- Writexlsx::Chart::Legend
- Defined in:
- lib/write_xlsx/chart/legend.rb
Instance Attribute Summary collapse
-
#delete_series ⇒ Object
Returns the value of attribute delete_series.
-
#fill ⇒ Object
Returns the value of attribute fill.
-
#font ⇒ Object
Returns the value of attribute font.
-
#gradient ⇒ Object
Returns the value of attribute gradient.
-
#layout ⇒ Object
Returns the value of attribute layout.
-
#line ⇒ Object
Returns the value of attribute line.
-
#pattern ⇒ Object
Returns the value of attribute pattern.
-
#position ⇒ Object
Returns the value of attribute position.
Instance Method Summary collapse
-
#initialize ⇒ Legend
constructor
A new instance of Legend.
Constructor Details
#initialize ⇒ Legend
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_series ⇒ Object
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 |
#fill ⇒ Object
Returns the value of attribute fill.
7 8 9 |
# File 'lib/write_xlsx/chart/legend.rb', line 7 def fill @fill end |
#font ⇒ Object
Returns the value of attribute font.
8 9 10 |
# File 'lib/write_xlsx/chart/legend.rb', line 8 def font @font end |
#gradient ⇒ Object
Returns the value of attribute gradient.
7 8 9 |
# File 'lib/write_xlsx/chart/legend.rb', line 7 def gradient @gradient end |
#layout ⇒ Object
Returns the value of attribute layout.
8 9 10 |
# File 'lib/write_xlsx/chart/legend.rb', line 8 def layout @layout end |
#line ⇒ Object
Returns the value of attribute line.
7 8 9 |
# File 'lib/write_xlsx/chart/legend.rb', line 7 def line @line end |
#pattern ⇒ Object
Returns the value of attribute pattern.
7 8 9 |
# File 'lib/write_xlsx/chart/legend.rb', line 7 def pattern @pattern end |
#position ⇒ Object
Returns the value of attribute position.
8 9 10 |
# File 'lib/write_xlsx/chart/legend.rb', line 8 def position @position end |