Share

JOpenChart Toolkit

Tracker: Support Requests

5 Problem creating png - ID: 973437
Last Update: Comment added ( nobody )

I have written the following code based on your
examples. chart1.png is created successfully, but chart2
fails with the following error:

de.progra.charting.EncodingException
at
de.progra.charting.ChartEncoder.createEncodedImage
(Unknown Source)
at
com.delta.mw.rvgestalt.chart.write_viewable_chart
(chart.java:24)
at com.delta.mw.rvgestalt.chart.main
(chart.java:174)
Caused by: java.lang.ClassCastException
at
de.progra.charting.CoordSystemUtilities.drawXAxisTicks
(Unknown Source)
at de.progra.charting.CoordSystem.paintDefault
(Unknown Source)
at de.progra.charting.CoordSystem.render
(Unknown Source)
at de.progra.charting.DefaultChart.render
(Unknown Source)
... 3 more

The source code is attached.

Any idea?? Any help would be appreciated
Alex Comer
My email address is:
alex_nospam@daydirector.com


acomer ( acomer ) - 2004-06-15 18:22

5

Open

None

Nobody/Anonymous

None

None

Public


Comment ( 1 )




Date: 2005-09-27 10:04
Sender: nobody

Logged In: NO

I had some similar issues with JDK 1.3...
1.4 works fine


Log in to comment.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.