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?
I have looked at the Visualization API but i believe the same problem exists.
I realise I may not have made the actual problem clear in the initial post but it is this:
in the examples I have seen, when drawing a simple column grid (for example), the bars are drawn from the x grid at REGULAR intervals for each entry supplied (Jan, Feb, March) (Java, C++, Prolog)
However, I need to display an x grid which, while marking the intervals along the x axis as months (Jan, Feb, etc), will display the Bars themselves at points along the x axis which reflect the actual java.util.Date when the value was measured.
So there may be no Bars during Jan and yet 20 Bars in May!
Does the Visualisation API allow this? I didn't see it.
Can you point me to some example code?
subject: GWT Chart which displays bars on x axis at irregular intervals