Line Chart Real Time X-Axis

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
yubraz
Posts: 3
Joined: Thu Mar 19, 2015 12:47 am
antibot: No, of course not.

Line Chart Real Time X-Axis

Post by yubraz » Fri Mar 20, 2015 10:53 am

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/

paradoxoff
Posts: 1634
Joined: Sat Feb 17, 2007 1:51 pm

Re: Line Chart Real Time X-Axis

Post by paradoxoff » Fri Mar 20, 2015 5:11 pm

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?

Locked