Jump to content
We've recently updated our Privacy Statement, available here ×
  • HTML5 Chart Background Image Not Included in PDF/DOCX Export


    asimkin
    • Features: Charts, Exporters Version: v7.3 Product: Jaspersoft® Studio

    Issue Description

    User created a report with HTML 5 chart with an background image as described in article:

    https://community.jaspersoft.com/blog/tip-how-set-background-image-columnbar-chart-html-5-charts-jaspersoft-studio-reports

    When previewing the report in Jaspersoft Studio, the background image is only shown in the HTML report output.

    It is not visible in other export formats (PDF, DOCX ...).

    How to make the image visible in the other formats?


    Resolution

    In order to get background image in PDF/DOCX export, Jaspersoft Studio requires PhantomJS library to de installed in the PC

    and property

    com.jaspersoft.jasperreports.highcharts.phantomjs.executable.path[/code]

    should be added with path to PhantomJS binary in Windows > Preferences menu:

    jss_phantomjsproperty.png.43c4a1fcc3c35a15a2caedbd7251556d.png

    PhantomJS library is used to render HTML5 charts by JasperReports Library:

    https://community.jaspersoft.com/wiki/phantomjs-libary-jasperreports-server

    In case of using Jaspersoft Studio in MS Windows, back-slash characters in the path should be doubled.

    Solution tested with Jaspersoft Studio v.7.3.0


    AS-20190823, case #01794957


    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...