A discussion forum for JFreeChart (a 2D chart library for the Java platform).
-
vlaz
- Posts: 1
- Joined: Fri Oct 13, 2006 6:46 pm
Post
by vlaz » Fri Oct 13, 2006 6:50 pm
Instead of drawing a line chart, is there a way that I can make the line curvi-linear (e.g. a cubic spline or something like that)? How would I do it? Do I need to extend or subclass a renderer? If so, which one?
Any guidance on this would appreciated.
Thank you,
Richard
-
rantfoil
- Posts: 9
- Joined: Tue Dec 06, 2005 9:53 pm
Post
by rantfoil » Tue Oct 17, 2006 10:43 am
Try extending XYLineAndShapeRenderer -- maybe start by looking at the code around drawPrimaryLine() and drawItem()?