Jump to content
JasperReports Library 7.0 is now available ×
  • Custom button on HTML5 chart


    dszeto
    • Features: Charts Product: JasperReports® Server

    Issue Description

    I want to add a customButton to the HTML5 chart to show or hide the series when pressed. I have tried this as a start but the button does not show. Function ability is tuned on. I also want to add onClick: function to this property. 


    Resolution

    In the sample JRXML report attached, the class chart.renderer.button is used to render a button for use in the chart.

    To run this report on JasperServer, please add the following to the jasperserver-proWEB-INFclassesjasperreports.properties file:

    com.jaspersoft.jasperreports.highcharts.function.properties.allowed=true
    

    after which a restart of JasperServer is required.


    Ref. Case 00057087

    highchartschart.jrxml


    User Feedback

    Recommended Comments

    There are no comments to display.



    Guest
    This is now closed for further comments

×
×
  • Create New...