Search found 3 matches
- Fri Oct 24, 2014 4:05 pm
- Forum: JFreeChart
- Topic: write chart with default zoom
- Replies: 3
- Views: 4271
Re: write chart with default zoom
By the way, I solved the issue by simply creating the ChartPanel twice. One for the GUI and one (that the user cannot modify) for the PDF.
- Thu Oct 09, 2014 9:59 am
- Forum: JFreeChart
- Topic: write chart with default zoom
- Replies: 3
- Views: 4271
Re: write chart with default zoom
This isn't quite working. :( First of all, I get a NPE when invoking clone() on my JFreeChart because the DateFormat's calendar is null: java.lang.NullPointerException at java.text.DateFormat.clone(DateFormat.java:723) at org.jfree.chart.axis.DateAxis.clone(DateAxis.java:1950) at org.jfree.chart.plo...
- Thu Oct 02, 2014 3:33 pm
- Forum: JFreeChart
- Topic: write chart with default zoom
- Replies: 3
- Views: 4271
write chart with default zoom
Hey there, Problem: I have a JFreeChart in a ChartPanel with some diagram. The user can save that chart as a PDF document (writing it as a PNG via ChartUtilities.writeChartAsPNG()). On the user interface the user can zoom in and zoom out the chart but I want the chart in the PDF to always have the d...