displaying slanted text in HAXIS in column chart

1,691 views
Skip to first unread message

rajakumar Iyyemperumal

unread,
Sep 15, 2010, 3:05:16 AM9/15/10
to Google Visualization API
Hi,
Is it possible to set the hAxis text as slanted in column chart? I
tried Options.set("hAxis.slantedText",true) to set he slanted text
but it is not working .
Can you suggest me any other way to achieve this ?

Lucas

unread,
Sep 15, 2010, 9:16:03 AM9/15/10
to Google Visualization API
Hi! You're doing it wrong... slantedText is a property of hAxis, the
right way to use it is:

hAxis: {slantedText: true}

If you want to set more properties:

hAxis: {title: "Chart Title", slantedText: true}

You can test on the Google Code Playground
http://code.google.com/apis/ajax/playground/?type=visualization#column_chart

Hope that this helps you.

Lucas

On 15 set, 04:05, rajakumar Iyyemperumal <vasel.rajaku...@gmail.com>
wrote:
Reply all
Reply to author
Forward
0 new messages