Issue Description
Customer developed a JRXML report with Charts Pro component.
When the report runs in JasperReports Server, output looks good, per requirements.
However, when the report exported to PDF format, it shows some extra axis lines, please refer to printscreen.
How to fix the issue?
Resolution
The lines, displayed in PDF output, are so-called divisional lines:
https://www.fusioncharts.com/dev/chart-guide/chart-configurations/div-lines-and-grids
In order to remove/hide them in PDF, try to specify the following settings in 'Divisional Lines and Grids' menu of the chart settings:
Num = 0
Color = #FFFFFF
Alpha = 0
Please find attached printscreen:
It might be possible that the properties seem to be already set.
In that case try to change them to another value and then back to the provided one, to make sure the values are really saved,
or manually modify report JRXML file and add required properties:
<fc:chartProperty name="divLineColor"> <fc:propertyExpression><![CDATA[new java.awt.Color(-1)]]></fc:propertyExpression> </fc:chartProperty> <fc:chartProperty name="numDivLines"> <fc:propertyExpression><![CDATA[new Integer(0)]]></fc:propertyExpression> </fc:chartProperty> <fc:chartProperty name="divLineAlpha"> <fc:propertyExpression><![CDATA[new Integer(0)]]></fc:propertyExpression> </fc:chartProperty>
Ref. Case 01597755
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