Morning,
I am having an issue with my time series chart. I want it to take in x number of samples and the chart to start scrolling. I set the max number of samples, but it seems to take that number of samples and then instead of the graph scrolling, the graph lines get smaller and smaller... they start disapearing from the left to right...
Does anyone know what I am doing wrong?
Thank you,
Andy
TimeSeries Chart - Graphing issue.
Re: TimeSeries Chart - Graphing issue.
... I have tried to set the autoscroll, with no avail. It seems to happen when I set the 'SetMaxumumItemCount()'. I am using a Millisecond period... Also, I am on version 13, the latest).
Any help would be apprecited...
Andy
Any help would be apprecited...
Andy
Re: TimeSeries Chart - Graphing issue.
... for some reason, if I clear each time series, I don't see the issue...
TimeSeriesCollection ts = (TimeSeriesCollection) chartPane.getChart().getXYPlot().getDataset(0);
List<TimeSeries> series = ts.getSeries();
int incr = 0;
for ( TimeSeries serie : series )
{
ts.getSeries(incr).clear();
incr++;
}
Andy
TimeSeriesCollection ts = (TimeSeriesCollection) chartPane.getChart().getXYPlot().getDataset(0);
List<TimeSeries> series = ts.getSeries();
int incr = 0;
for ( TimeSeries serie : series )
{
ts.getSeries(incr).clear();
incr++;
}
Andy
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Re: TimeSeries Chart - Graphing issue.
Your explanation of the issue is not clear enough for me to know what is happening exactly.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader

