By default, Client-side GChart's axis min/max are data determined, which I believe is what is causing the "collapsing with no data" that you mentioned.
To stop that, explicitly set axis min/max via the setAxisMax and setAxisMin methods, as described here: http://gchart.googlecode.com/svn/trunk/doc/com/googlecode/gchart/client/GChart.Axis.html#setAxisMax%28double%29 HTML **CAN** be used in axis labels (via the addTick method) and point labels (via the setAnnotationText method). But there is a trick to it: the strings you pass in must be prefixed with "<html>" as described here: http://gchart.googlecode.com/svn/trunk/doc/com/googlecode/gchart/client/GChart.Curve.Point.html#setAnnotationText%28java.lang.String,%20int,%20int%29 The two packages for generating a single image file chart I most often hear mentioned are jFreeChart and the Google Chart API. Based on this forum, lots of GWTers use both. There are also quite a few Google Chart API wrappers; charts4j (formerly called gchartjava) might interest you as it gives the Google Chart API a Java API: http://code.google.com/p/charts4j/ But I hope you'll also give Client-side GChart another look in light of the above info (a new release 2.4, that provides significantly better hover feedback is in the works). HTH, John C. Gunther http://gchart.googlecode.com On Dec 16, 2:17 am, ArunDhaJ <arund...@gmail.com> wrote: > Hi All, > I'm using GChart for my application. Its UI collapses when there is no > points to draw. > > Is there any charting component which gives me a single image file for > the chart ??? Since the points lable is plain text I'm not able to > format the position of labels. Like, the X-axis label should be > horizontal instead of veritical. > > Please let me know any charting component, if available.... > > Thanks in Advance > ArunDhaJwww.arundhaj.com --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---