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<http://www.javaranch.com/unit-testing.jsp> 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?
>
>
>
>
> <https://lh5.googleusercontent.com/-5t8YTr6-718/UHaqsCwqpRI/AAAAAAAABLc/Sls1aXN9_1I/s1600/6+mnths.png>
>
>
> <https://lh3.googleusercontent.com/-PyPZEmb16eE/UHaqvuVWCoI/AAAAAAAABLk/Y2WtwV_S22E/s1600/12+months.png>
>
>
> <https://lh5.googleusercontent.com/-Mr0QBSZDcFE/UHaqmBkaU9I/AAAAAAAABLU/m7wu_4C1VOM/s1600/1+mnth.png>
>
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to