Choose one of predefined shapes in XYLineAndShapeRendere

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
vijay
Posts: 13
Joined: Thu Nov 17, 2005 3:20 pm
Location: India

Choose one of predefined shapes in XYLineAndShapeRendere

Post by vijay » Wed Nov 30, 2005 12:39 pm

Hi
When we render using XYLineAndShapeRenderer / LineAndShapeRenderer, we dont have control over the shape that will be rendered. I see for most cases it is square, reactangle and circle. Can we choose the shape? If it is not the case, it is a nice to have in my option. Providing few shapes that are available default. (Like rectangle, circle, triangle). would be really great.

Thanks,
Vijay Venkataraman

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Wed Nov 30, 2005 1:10 pm

You can use the setSeriesShape() method in the renderer.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

Locked