summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2012-04-28 11:55:34 +0900
committerRandy Morgan <[email protected]>2012-04-28 11:55:34 +0900
commitdc94b1712bbe61be88f4a8d1aa9c5ee29ce46138 (patch)
tree56fd9fb2af0b31c4395c3c64dec38402c6d28055
parenta7e9549a48f3ea61ff8a596307dc3a0e4d5876f8 (diff)
downloadcaxlsx-dc94b1712bbe61be88f4a8d1aa9c5ee29ce46138.tar.gz
caxlsx-dc94b1712bbe61be88f4a8d1aa9c5ee29ce46138.zip
in living color! charts using the colors you want.
-rw-r--r--examples/chart_colors.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/chart_colors.rb b/examples/chart_colors.rb
index 14725626..41966d47 100644
--- a/examples/chart_colors.rb
+++ b/examples/chart_colors.rb
@@ -53,7 +53,7 @@ wb.add_worksheet(:name => "Scatter Chart") do |sheet|
sheet.add_chart(Axlsx::ScatterChart, :title => "example 7: Scatter Chart") do |chart|
chart.start_at 0, 4
chart.end_at 10, 19
- chart.add_series :xData => sheet["B1:E1"], :yData => sheet["B2:E2"], :title => sheet["A1"], :color => '0000FF'
+ chart.add_series :xData => sheet["B1:E1"], :yData => sheet["B2:E2"], :title => sheet["A1"], :color => '00FF00'
chart.add_series :xData => sheet["B3:E3"], :yData => sheet["B4:E4"], :title => sheet["A3"], :color => 'FF0000'
end
end