Jump to content
We've recently updated our Privacy Statement, available here ×
  • How to Create a Dual Level Doughnut (Donut) HTML5 Chart


    asimkin
    • Features: Reports Version: v6.4 Product: JasperReports® Server

    Issue Description

    Customer has a requirement to create a Dual Level Doughnut (Donut) HTML5 chart based on 2 independent series.

    Attached are sample data for the chart and desired output:

    sampledata_desiredchart.png.0c45a6a91bde6c5dd7536cd7ef8f761f.png


    Resolution

    A simple (one-level) Doughnut chart can be easily implemented by specifying plotOptions.pie.innerSize  chart property.

    In order to create a Dual Level Doughnut chart, you can create a column chart with 2 measures and change it's type to pie value via chart.type property.

    Attached is a sample JRXML report based on dummy query. Generated output is

    support_donutchart.png.a887fde64815310168cef5c83fc752f4.png

    Solution tested with TIBCO JasperReports® Server v.6.4.0


    Ref. Case 01567088

    highcharts_doughnutchart.jrxml


    User Feedback

    Recommended Comments

    There are no comments to display.



    Guest
    This is now closed for further comments

×
×
  • Create New...