summaryrefslogtreecommitdiffhomepage
path: root/examples/example.rb
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2013-09-26 21:17:25 +0900
committerRandy Morgan <[email protected]>2013-09-26 21:17:25 +0900
commit168fcb8406d80f863d5d1b50a38e585580f89acf (patch)
treeadc9dd82aa356dcabe8396d21aa0e3926ac7b9a3 /examples/example.rb
parent46a17e4b3fe0531ac6b2e48f818a982a86f538e4 (diff)
downloadcaxlsx-168fcb8406d80f863d5d1b50a38e585580f89acf.tar.gz
caxlsx-168fcb8406d80f863d5d1b50a38e585580f89acf.zip
extended examples and smooth lines for line chart
Diffstat (limited to 'examples/example.rb')
-rwxr-xr-xexamples/example.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/example.rb b/examples/example.rb
index 6c8fbd0e..3e409f2d 100755
--- a/examples/example.rb
+++ b/examples/example.rb
@@ -468,6 +468,7 @@ if examples.include? :line_chart
chart.valAxis.title = 'Y Axis'
end
sheet.add_chart(Axlsx::LineChart, :title => "Simple Line Chart", :rotX => 30, :rotY => 20) do |chart|
+ chart.smooth = true
chart.start_at 0, 21
chart.end_at 10, 41
chart.add_series :data => sheet["A3:A6"], :title => sheet["A2"], :color => "FF0000"