Jump to content
Changes to the Jaspersoft community edition download ×
  • How to create date range HTML5 column/bar charts even when no values

    Jim W

    Issue Description

    Even we're able to produce date range HTML5 column/bar, we need to show bars/columns for the whole date range (even there are no values for specific intervals). We use MongoDB, so we can aggregate on both sides - Mongo or Category, but we had no luck displaying "empty bars/columns".


    Use Time Series html5 charts.  These include zero values.

    For other charts you can also try substitution.

    <valueExpression><![CDATA[$F{incidents} <= 0.05? 0.1 : $F{incidents}]]></valueExpression>

    Ref. Case 00066834

    User Feedback

    Recommended Comments

    There are no comments to display.

    This is now closed for further comments

  • Create New...