diff options
| author | Randy Morgan (@morgan_randy) <[email protected]> | 2013-09-26 16:50:23 -0700 |
|---|---|---|
| committer | Randy Morgan (@morgan_randy) <[email protected]> | 2013-09-26 16:50:23 -0700 |
| commit | f7ef48248db87faaf2229c14ceec5633c662614c (patch) | |
| tree | 38ee901720f6cadc9b1f372a12eb57e79ee194fd /examples/example.rb | |
| parent | 168fcb8406d80f863d5d1b50a38e585580f89acf (diff) | |
| parent | 70eb08fdbbd7b36d2cd1bcb40eba1eaf381a63ac (diff) | |
| download | caxlsx-f7ef48248db87faaf2229c14ceec5633c662614c.tar.gz caxlsx-f7ef48248db87faaf2229c14ceec5633c662614c.zip | |
Merge pull request #245 from patorash/feature-line-chart-smooth
smooth line for line chart
Diffstat (limited to 'examples/example.rb')
| -rwxr-xr-x | examples/example.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/example.rb b/examples/example.rb index 3e409f2d..4960ce9f 100755 --- a/examples/example.rb +++ b/examples/example.rb @@ -468,10 +468,9 @@ 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" + chart.add_series :data => sheet["A3:A6"], :title => sheet["A2"], :color => "FF0000", :show_marker => true, :smooth => true chart.add_series :data => sheet["B3:B6"], :title => sheet["B2"], :color => "00FF00" chart.catAxis.title = 'X Axis' chart.valAxis.title = 'Y Axis' |
