Jump to content

the value need to showed inside the column


panlj2004

Recommended Posts

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Hi djohnson53,

I read the doc that you attached link, but it still not clear for me.

1.Implementation of a Chart Customizer Class

Should I create the following class?

import net.sf.jasperreports.engine.JRChart;

import net.sf.jasperreports.engine.JRChartCustomizer; 

......... rangeAxis.setTickMarkOutsideLength(2.5f); }

}

 

2. How to create a class?

3. There are some guide in Jaspersoft-Studio-User-Guide.pdf

where should I write this passage net.sf.jasperreports.engine.JRChartCustomizer

Currently, JasperReports Server takes advantage of only a small portion of the capabilities of the JFreeChart

library. To customize a graph, you must write a class that implements the following interface:

net.sf.jasperreports.engine.JRChartCustomizer

The only method available from this interface is the following:

public void customize(JFreeChart chart, JRChart jasperChart);

It takes a JFreeChart object and a JRChart object as its arguments. The first object is used to actually produce

the image, while the second contains all the features you specify during the design phase that are relevant to the

customize method.

 

waiting for your reply, thank you

Kelly pan

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