Search found 3 matches

by vigneshb
Mon Aug 31, 2009 4:47 pm
Forum: JFreeChart - Stockmarket
Topic: Color and time series
Replies: 1
Views: 12583

Re: Color and time series

All it does is when you remove your 2nd time series the index of 3rd timeseries(2) is now changed to (1). So you just have to update when you remove it say render.setSeriesPaint(1, (the third series color));
by vigneshb
Mon Aug 31, 2009 2:36 pm
Forum: JFreeChart
Topic: update my chart
Replies: 3
Views: 8216

Re: update my chart

if its DefaultCategoryDataset just use setValue on your dataSet and if its a timeseries then all you have to do is use TimeSeriesCollection.add() . The listeners will be called as you update or add.
by vigneshb
Mon Aug 31, 2009 2:31 pm
Forum: JFreeChart
Topic: TimeSeriesChart color
Replies: 1
Views: 2878

TimeSeriesChart color

Hello all, I'm trying to create 8 TimeSeriesChart having same kind of TimeSeriesCollection. Each collection has 4 data and there are 8 sereiscollection. Now when I add it to TimeSeriesChart the color of the plot for each data differs for each seriescollection. Is there anyway I can specify color for...