Drawing 2 datasets for XYSeries - connected

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
ajgwin
Posts: 18
Joined: Mon Mar 17, 2003 4:53 pm

Drawing 2 datasets for XYSeries - connected

Post by ajgwin » Tue Jun 17, 2003 6:46 pm

I have 2 datasets for an XYSeries chart. One is red and one is blue. The user can select multiple rows from a table and pick either red or blue. I want the chart to change according to what they pick. So if the chart goes from 0-360 and they choose 50-100 for red and the rest for blue, then I want the chart to reflect that. The problem I am having is that the blue chart will remove the values that are red, but then makes a line between the removed values and the next valid value. Does this make sense? I can't really show what I want free hand. Does anyone understand what I am trying to do? If not, I will try to explain it better. Thanks.

Allyson

Locked