Jump to content
JasperReports Library 7.0 is now available ×

ClassCastException when trying to Customize Chart


brana

Recommended Posts

Hi,

 

im trying to customize my Chart by implementing the customize function.

 

Unfortunally i allways get an ClassCastException when I try to run the report, even with an empty cutomize function:

Fehler beim Füllen... org.jfree.chart.plot.XYPlot
java.lang.ClassCastException: org.jfree.chart.plot.XYPlot

 

My customizer-class looks like this:

Code:

public class ChartCustomizer implements JRChartCustomizer
{
public void customize(JFreeChart chart, JRChart jasperChart)
{
// empty function
}
}

Could anyone please help me?

 

Thanks,

 

Benjamin

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...