Yazid Hachem
Yazid Hachem

Reputation: 11

Printing with JRViewer report with jasper report which contain a chart 5.5.0

When I create a report using JasperReports without chart form Java application and I call it from jbutton

I get my report on JRViewer, its mean that my application generate the report when i didn't put any chart in this report but once i modify this report and i add charts the programm generate the following error:

org.jfree.chart.axis.NumberTickUnitSource cannot be cast to org.jfree.chart.axis.TickUnits

I tired to search how to solve this problem but i didn't find nothing on NET

Upvotes: 1

Views: 444

Answers (1)

Henry E. Baquero V.
Henry E. Baquero V.

Reputation: 11

solved this issue, include jfreechat-1.0.17.jar and jcommon-1.0.21.jar libraries in my project.

Error org.jfree.chart.axis.NumberTickUnitSource cannot be cast to org.jfree.chart.axis.TickUnits

Upvotes: 1

Related Questions