Jump to content
We've recently updated our Privacy Statement, available here ×
  • Make Two Level Tree Map in Jaspersoft Studio


    akovach
    • Features: Reports Version: v7.3, v7.3.0 Product: Jaspersoft® Studio

    Requirement

    When user creates a a TreeMap in Jaspersoft Studio, there might be a need to display several categories of data on chart:

    highchart_0.jpg.a66f141b435bc537358b4d1224ba3dfd.jpg

    By default, TreeMap won`t show several categories, but will make a drill down from level one to level two, which can be accessed via clicking on chart series


    Solution

    It is possible to do this with Chart Properties in Jaspersoft Studio. For this you need to open Chart Properties > Go to Advanced Chart Properties > PlotOptions >Treemap > dataLablels > Enabled and set it to true (plotOptions.treemap.dataLabels.enabled). The result will be the following:

    property_enabled.jpg.dcc3657b7237485b125e959bd47ee68d.jpg

    By default the result will be following:

    property_disabled_1.jpg.b3ac128b2a9e566609aab0acf483f3cd.jpg

    If to click on Retailer 57 rectangle this will open next level of chart via drill down:

    property_disabled_2.jpg.b6deb8987c5b0dfa5008d474a5c2f2ce.jpg


    References

    TreeMap JS Sample


    ref case - 01786140 akovach

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