Hallo !!!
someone know if it is possible in a bubble chart override the bubble with the rectangle shape(for example, in way to have a promiscuous chart ) ?
thanks at everyone who will respond.
can i override the shape?
Re: can i override the shape?
i have read that it can be done with the replace of drawitem method or XYBubbleRenderer but i have not understand how can i do, there is someone that give me a hint??
many thanks at all!
many thanks at all!
-
- Posts: 1634
- Joined: Sat Feb 17, 2007 1:51 pm
Re: can i override the shape?
Extend XYBubbleRenderer and override the drawItem-method. Replace the part between lines 234 and 241 where the renderer is drawing some Ellipse2D´s with your code (which should draw Rectangle2D´s).