summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2012-04-25 20:37:16 +0900
committerRandy Morgan <[email protected]>2012-04-25 20:37:16 +0900
commit1381dca8d62748ad103004a2cf35cbc51e7c336c (patch)
tree4ee941202adc7bb99a0687ec8c890bfd9f538866
parentc01d70a9a34df0f9e741739b7f19a80f0dd2bb94 (diff)
downloadcaxlsx-1381dca8d62748ad103004a2cf35cbc51e7c336c.tar.gz
caxlsx-1381dca8d62748ad103004a2cf35cbc51e7c336c.zip
add label_rotation to readme bar chart example
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index d87ec9be..1591d13f 100644
--- a/README.md
+++ b/README.md
@@ -285,6 +285,8 @@ wb.add_worksheet(:name => "Bar Chart") do |sheet|
sheet.add_row [1, 2, 3]
sheet.add_chart(Axlsx::Bar3DChart, :start_at => "A4", :end_at => "F17") do |chart|
chart.add_series :data => sheet["A3:C3"], :labels => sheet["A2:C2"], :title => sheet["A1"]
+ chart.valAxis.label_rotation = -45
+ chart.catAxis.label_rotation = 45
end
end
```