Jump to content
We've recently updated our Privacy Statement, available here ×
  • Sample HTML5 ArcGauge Chart and how to increase the width of the arc


    vchiem
    • Features: Charts Version: v8, v7 Product: JasperReports® Server

    Sample Report: HTML5 ArcGauge Chart with property to increase the arc width (thickness).

     

    The arc in the Chart is rendered as a solid gauge with innerRadius set.

    An example jsfiddle is of this chart is :

     

    https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/plotoptions/solidgauge-radius/

     

    The following property can be added to render the size of the arc which is by increasing or lowering the innerRadius. The lower the percentage, the greater the thickness of the arc.

    <hc:chartProperty name="series[0].data[0].innerRadius">
    <hc:propertyExpression><![CDATA["20%"]]></hc:propertyExpression>
    </hc:chartProperty>
    

     

    Report template that can be opened in TIBCO Jaspersoft Studio is attached.

     

     

     

    htmlarcgaugechart.jrxml


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