954,549 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

how to draw a horizontal line in ireport XYline chart

Hello,

i have used ireport tool for creating jrxml template for creating chart(XYLine chart).
and i used this jrxml file in java code to create chart.
Here i passed csv file as data source.
Now i can freely change color,title,subtitle,font ect from java code .
what i want is how to draw a horizontal line in that chart at particular point through java code.
Please suggest me in a right direction.

Thanks in Advance.

Shanti C
Posting Virtuoso
1,642 posts since Jul 2008
Reputation Points: 137
Solved Threads: 162
 

I guess I'd read the API doc for the package and see what it offers.

NormR1
Posting Expert
Moderator
6,677 posts since Jun 2010
Reputation Points: 1,138
Solved Threads: 656
 

ok.
Can any one tell me how to edit series expression of chart through java code?
thanks in advance.

Shanti C
Posting Virtuoso
1,642 posts since Jul 2008
Reputation Points: 137
Solved Threads: 162
 

Hi,

I'm new to Jasper reporting and it will be very helpful to me to know how to add a horizontal line (Showing average value in Y axis) dynamically to a Line chart in jasper reporting. I am familiar with customizer class and I want to clarify whether it can be done through cutomizer class.

Any help is appriciated

Thanks...

vimukthirandika
Newbie Poster
1 post since Aug 2011
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: