Use case
Customer created an Ad Hoc Chart and wants to utilize plotLines feature available in Highcharts library.
Resolution
Highcharts' plotLines is an array of objects represinting plot lines on a axis:
https://api.highcharts.com/highcharts/yAxis.plotLines
In order to utilize plotLines in Ad Hoc Chart designer, you need to go to 'Chart Format' menu, 'Advanced' tab and manually type yAxis.plotLines property name and array of objects escaped in double-quotes as a value, e.g.:
[ { "color":"red", "value":"2000", "width":"2", "dashStyle":"longdashdot" }, { "color":"yellow", "value":"5000", "width":"2", "dashStyle":"longdashdot" }, { "color":"green", "value":"7000", "width":"4", "dashStyle":"solid" } ]
Please refer to printscreen
Please note that "width" property must be specified explicitly otherwise default value (undefined) is applied and the line is not visible
Solution tested with TIBCO JasperReports® Server v.7.1.0
Ref. Case 01637993
Recommended Comments
There are no comments to display.
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 accountSign in
Already have an account? Sign in here.
Sign In Now