Hi.
The axis styles documentation here
http://code.google.com/apis/chart/labels.html#axis_styles
states:
<alignment> is one of the following:
• -1 to make the axis labels left-aligned.
• 0 to make the axis labels centered.
• 1 to make the axis labels right-aligned.
Now consider the axis styles parameter (chxs=0,FF0000,16,1) in
following chart:
http://chart.apis.google.com/chart?cht=lc&chxt=x&chxp=0,50.0&chxl=0:|Foo&chs=200x125&chd=e:AAgA..&chxr=0,0.0,100.0&chg=50.0,50.0,5,0&chxs=0,FF0000,16,1
http://tinyurl.com/9lt8sy
Note that the 1 should denote right-aligned axis label. It does not.
It is left aligned.
Changing the 1 to -1 moves the axis labels to the right.
Unless, I am missing something obvious, this seems like a bug to me.
The alignments are reversed.
-Julien
http://charts4j.googlecode.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Chart API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-chart-api?hl=en
-~----------~----~----~----~------~----~------~--~---