diff options
| author | Randy Morgan <[email protected]> | 2012-04-25 20:37:16 +0900 |
|---|---|---|
| committer | Randy Morgan <[email protected]> | 2012-04-25 20:37:16 +0900 |
| commit | 1381dca8d62748ad103004a2cf35cbc51e7c336c (patch) | |
| tree | 4ee941202adc7bb99a0687ec8c890bfd9f538866 | |
| parent | c01d70a9a34df0f9e741739b7f19a80f0dd2bb94 (diff) | |
| download | caxlsx-1381dca8d62748ad103004a2cf35cbc51e7c336c.tar.gz caxlsx-1381dca8d62748ad103004a2cf35cbc51e7c336c.zip | |
add label_rotation to readme bar chart example
| -rw-r--r-- | README.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 ``` |
