PDA

View Full Version : Chart Y Axis Title Orientation



mitchellsimoens
7 Oct 2009, 5:22 PM
I have a LineChart and on each axis I have the title property set and it displays as expected. I cannot find a way to change the orientation of the title property of the Y Axis to something like vertical.

I see that there is a property "orientation" and you can set it to vertical or horizontal and when I toggle that it has no affect on anything on the chart. So I assume that it doesn't have this option? What does orientation orientate?

something like this: http://developer.yahoo.com/yui/examples/charts/charts-rotation.html

Gabriel Nolasco
9 Oct 2009, 6:02 AM
Hi,

The following example sets the label and title rotation:

extraStyle: {
xAxis: {
labelRotation: -90
},
yAxis: {
titleRotation: -90
}
}

Best regards,
Gabriel Nolasco