Enabling Highcharts Properties in Jaspersoft 6.3.0

I am having trouble implementing a highchart property. Specifically i have implemented the following code, and the report will run but nothing happens when i click the data series:

                        <jrhc:chartProperty name="plotOptions.series.events.click">
                            <jrhc:propertyExpression><![CDATA["function() { window.open('http://www.google.com');}"]]></jrhc:propertyExpression>
                        </jrhc:chartProperty>

I also have this line in my jrxml:

    <property name="com.jaspersoft.jasperreports.highcharts.function.properties.allowed" value="true"/>

I have read in a couple forums that this line of code needs to be added to \WEB-INF\classes\jasperreports.properties.

Is this true for version 6.3.0? Do I need to get my admin to add "com.jaspersoft.jasperreports.highcharts.function.properties.allowed" value="true" to \\WEB-INF\classes\jasperreports.properties to access highchart event functions?

dstevens_2's picture
Joined: Jun 20 2017 - 8:32am
Last seen: 3 years 6 months ago

0 Answers:

No answers yet
Feedback
randomness