Jump to content

How to add a Threshold line in Graphical Reports.


ajaysharma

Recommended Posts

I am tring to add a threshold line in the graphical report. But it is not working.

The JRDesignChart disapear on adding JRDesignLine using the code.

I have also attached the threshold line graph and jrxml.

 

Please help me.

Regards,

Ajay

Code:
JRBand jrBand = jasperDesign.getSummary();List list = jrBand.getChildren();JRDesignLine line = new JRDesignLine();line.setBackcolor(new Color(0,255,0));line.setX(0);line.setY(0);line.setWidth(0);line.setHeight(0);list.add(line);
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...