The below image shows that line chart is displaying data real time for last 3 hours. I want the graph to dislay the x-axis tick values whenever a user submits for generation of chart.
For example if I went to the URL and selected required fields and hit submit button at 5pm...the graph should show 12, 12:30, 1, 1:30, 2, 2:30 and 3 on x-axis ticks.
The ticks value will change according to the users submission for generating graph.
Is this possible??
Or any ideas will be greatly welcomed.
Thanks.
http://postimg.org/image/nlqtl9g3d/
Line Chart Real Time X-Axis
-
- Posts: 1634
- Joined: Sat Feb 17, 2007 1:51 pm
Re: Line Chart Real Time X-Axis
If you do not touch the defaults of JFreeChart, you should at least see one tick mark.
if the chart in the image was prodcued with JFreeChart, you have apparently done something that has removed the tick marks.
Since you haben´t shown ANY code: what kind of advice do you expect?
Or maybe if have misunderstood your problem? What exactly is wrong with the chart in the image?
if the chart in the image was prodcued with JFreeChart, you have apparently done something that has removed the tick marks.
Since you haben´t shown ANY code: what kind of advice do you expect?
Or maybe if have misunderstood your problem? What exactly is wrong with the chart in the image?