Wednesday, September 11, 2013

Re: GWT Chart which displays bars on x axis at irregular intervals

You may check out GWT-RCharts hosted on http://code.google.com/p/gwt-rcharts/ and demo at http://gwt-rcharts.appspot.com/ . You can trick API to give irregular interval at categorical axis on CategoryDataTable by giving space instead of name like <jan>,<feb>,< >,<apr>,<  >,<   >,<july>,.. just take care you give different amount of space each time. On second though you may do this on any other chart API.


On Thursday, 11 October 2012 16:47:59 UTC+5:30, Louise Mortimer wrote:
I need to create various charts (using GWT) which will display values along the x axis at irregular intervals. 
All examples I have come across (and testing I have done) display the values along the x axis at regular intervals. 
However for my purposes I need to display a set of values (Y axis) taken at specific times/java.util.Date (X axis). 
The range of the x axis can be varied from 1 month to n months and the labels must show the Months. The values however must be displayed at the appropriate place on the x axis (see screen shots). 

Does anyone have any idea how to achieve this using the GWT charts?





--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment