Populating ChartRenderingInfo

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
FBueckert
Posts: 5
Joined: Thu Jul 20, 2006 5:58 pm

Populating ChartRenderingInfo

Post by FBueckert » Thu Jul 20, 2006 6:02 pm

Is there any way to populate this object without using a saveChart method?
My main problem is that I don't have write access on the server this is going up on. So, the testing works fine on my local machine, but I get NullPointerExceptions when I dump it to the server. Any help would be greatly appreciated.

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 » Fri Jul 21, 2006 3:23 pm

The ChartRenderingInfo gets populated when the chart is drawn. Presumably you are drawing the chart on the server at some point (perhaps straight to a BufferedImage?) so just grab the info there...
David Gilbert
JFreeChart Project Leader

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

Locked