Hello,
I've got the following chart:
built using TimeSeriesCollection as dataset and XYLineAndShapeRenderer as renderer.
I'd like to modify:
1) for every step, there should be only one value (example, there must not be a serie of "20" or "5", but only one of them);
Can someone help me, please?
Thanks.
How to modify settings in my chart
-
- Posts: 2
- Joined: Mon Apr 07, 2014 3:11 pm
- antibot: No, of course not.
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Re: How to modify settings in my chart
It looks like your dataset contains one item every hour of the day. Try adding a new data point only when the value changes.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program