Tuesday, September 14, 2010

display slanting X-axis in gwt visualization column chart using gwt-visualization-1.1.0.zip

I am trying to draw column chart using GWT visualization api.I am
using the following GWT visualization jar in :

http://code.google.com/p/gwt-google-apis/downloads/list/gwt-visualization-1.1.0.zip

I am trying to set the hAxis in slantedText as in GWT's java script
visualization api.But there is no options to set the hAxis in slanted
mode in using gwt-visualization-1.1.0.zip.
Hence I try to set the property option as follows,


my code is :

Options options = Options.create();
options.set("hAxis.slantedText", true);
options.set("hAxis.title", "Leave");


Still I did not get the slanted text in my column chart.

Is there any other way to set the hAxis.slanted text option ?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment