Jump to content
We've recently updated our Privacy Statement, available here ×
  • HTML5 Bar Chart exports to any format (except HTML) are not correctly rendering the bars


    vchiem
    • Features: Charts Version: v8.0, v8.0.0, v8.0.1, v7, v7.9 Product: JasperReports® Server

    Issue:

    After running a HighCharts (HTML5) Bar Chart report on the TIBCO JasperReports® Server, the bars in the chart are displayed as expected on the report viewer UI.

    But after exporting the report to any output format (PDF, DOCX, PPT XLS etc), the length of the bar/s is either not visible or does not correspond to the same bar length as displayed on the report viewer. 

    Similarly, when running the report in TIBCO Jaspersoft® Studio, only the HTML output displays the bars correctly but other output formats including the Java output, exhibits the same problem. 

    The js.config.properties file was configured to use the chromium engine for graphical rendering of charts. 

     


    Solution:

    The cause of the problem was determined to be because of a specific property, plotOptions.series.animation (true), in the report template. The setting of this property allowed the correct rendering of the bar chart only in HTML output or on the TIBCO JasperReports® Server report viewer. 

    By disabling the animation property:

    <hc:chartProperty name="plotOptions.series.animation">
     <hc:propertyExpression><![CDATA[false]]></hc:propertyExpression>
    </hc:chartProperty> 

    the chart should then work for all output formats.

     


    User Feedback

    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 account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...