Jump to content

Another chart engine in PDF reports


andrey_nado

Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Hi,

First of all, the library used to render chart is not different depending on the export type, ex PDF. Regardless of what document format you target, we use the same charting package to render the chart.

In JR, you can integrate any charting or visualisation package you want, but in order to do that, it means you are going to call that graphic rendering API directly from your report. With our built-in charts, you just configure a chart element and you normally you are not concerned about the JFreeChart API, unless you want some customizations.

If you want to achieve the same simplicity of use, but rely on a different charting library behind the scenes, you would need to implement a JR custom component for it. Just like at Jaspersoft we did with the FusionCharts package, which is available as a JR component in the comercial version of JR Pro.

But if you download the JR project source tree, you can find several samples that show you how to use different charting packages:

/demo/samples/openflashchart

/demo/samples/jcharts

 

I hope this helps.
Teodor

 

Link to comment
Share on other sites

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...