could someone tell me WHEN and HOW the draw method of the JFreeChart class is called?
i'll go from there.
draw method revisited
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
It depends on the context:
- the paintComponent() method in the ChartPanel class calls the draw() method to draw the chart on a panel;
- the print() method in the ChartPanel class calls the draw() method to "draw" the chart on a printer;
- the createBufferedImage() method in the JFreeChart class calls the draw() method to draw the chart on an image;
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader

