Tuesday, September 14, 2010

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

You should direct questions about the Google API Libraries for GWT to the forum dedicated to that purpose: http://groups.google.com/group/GWT-Google-Apis

I'll take a stab at your question: you don't list calling the draw method. Make sure you call .draw(yourData, yourOptions) on the visualization for the options to take.

On Tue, Sep 14, 2010 at 4:16 AM, Gopalsamy Ponnuraj <gopalsamyponnuraj@gmail.com> wrote:

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.


--
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