custom dataset + custom xy renderer

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
semiosys
Posts: 4
Joined: Fri Aug 06, 2010 9:26 pm
antibot: No, of course not.

custom dataset + custom xy renderer

Post by semiosys » Wed Sep 22, 2010 2:18 pm

Hi,

I'd like to use jfreechart to create custom time series charts.
I'd like to get an advice to choose the approach.

Instead of having data like { (x1,y1), (x2, y2), ... } data rather looks like { (x1,(y1,z1,t1,u1)), (x2, (y2,z2,t2,u2)), ... }
The extra values in addition to y are used to draw a complex point (either a vertical stick, either an ellipse) instead of a simple (x,y) point.

For sure I need a custom renderer to draw those complex points.

My question is more about the data storage : do I need to implement an extra AbstractXYDataset or is there a way to use an existing one ?

Thanks.
Image

Locked