Is there a way to add a dot(shape) to a timeseriescollection dataset that is displayed as a line.
For instance, I have a line drawn for values over time but I would really like to add a dot on the chart line where the minimum and maximum values occur. Can I do this without creating a whole new series?
Thanks!
Stacey
add dot(shape) to a timeseries
Re: add dot(shape) to a timeseries
You could change the renderer to display lines *and* shapes, but that will display shapes for every point on your series. It sounds like you would like only a couple of shapes, in which case you would need to create a new series and use an OverlaidXYPlot.
Alternatively, I have done a little bit of work on text annotations for plots, which I plan to extend to have support for graphics (arrows, lines etc) as well. When this is done, you might be able to add a couple of shapes to your plot using this mechanism.
Regards,
DG.
Alternatively, I have done a little bit of work on text annotations for plots, which I plan to extend to have support for graphics (arrows, lines etc) as well. When this is done, you might be able to add a couple of shapes to your plot using this mechanism.
Regards,
DG.
Re: add dot(shape) to a timeseries
Thanks David,
That's kind of what I figured. Thanks for the reassurance and the reply though. I look forward to all the new support you are putting into Jfreechart. It really is a wonderful tool.
Thanks!
Stacey
That's kind of what I figured. Thanks for the reassurance and the reply though. I look forward to all the new support you are putting into Jfreechart. It really is a wonderful tool.
Thanks!
Stacey
Re: add dot(shape) to a timeseries
One other question I have is...if I add an extra series for the min and max series, is there a way to not include them in the legend? I really don't want to display them twice since they are just 'fake' series.
TIA!
Stacey
TIA!
Stacey