Method: Writexlsx::Sparkline#write_sparkline_group

Defined in:
lib/write_xlsx/sparkline.rb

#write_sparkline_group(writer) ⇒ Object

Write the <x14:sparklineGroup> element.

Example for order.

<x14:sparklineGroup

manualMax="0"
manualMin="0"
lineWeight="2.25"
type="column"
dateAxis="1"
displayEmptyCellsAs="span"
markers="1"
high="1"
low="1"
first="1"
last="1"
negative="1"
displayXAxis="1"
displayHidden="1"
minAxisType="custom"
maxAxisType="custom"
rightToLeft="1">


157
158
159
160
161
162
163
# File 'lib/write_xlsx/sparkline.rb', line 157

def write_sparkline_group(writer)
  @writer = writer

  @writer.tag_elements('x14:sparklineGroup', group_attributes) do
    write
  end
end