Hi
We are using Jfreechart to plot a huge amount of data. Date is on x axis and Value on Y axis . When plotting large amount of data the y axis adjusts but the x axis values does not sees due to large amount of values. I think the problem is in adding dataset values . In it adding date as string.
for eg: dataset.addValue(1, "type", "Date")
Is there any solution to overcome it. I want to give the date as value so that it will dajust the x axis value. so i can read the x axis value also
Pls help.
Thanks in advance
Sarin
Problem in X axis, please help
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
If your x-values are dates, you shouldn't use a CategoryPlot and CategoryDataset, you should switch to using an XYPlot with a DateAxis for the domain axis.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader

