Jump to content
We've recently updated our Privacy Statement, available here ×
  • How to add borders between cells in heatmap


    Friendly User
    • Features: Charts Version: v7, v7.5, v7.5.1, v7.5.0, v7.3, v7.3.0, v7.2, v7.2.2, v7.2.1, v7.2.0, v7.1, v7.1.1, v7.1.0 Product: JasperReports® Library

    Scenario:

    You have a heatmap and would like to add borders between cells for better readability. The available advanced properties don't have any property that suggests changing that. How to add the border?

    Solution:

    The property for the heatmap borders is not included in the properties available in the advanced property window. However, you can add them manually by pressing the Add button in the advanced formatting properties view and type:

    plotOptions.heatmap.borderWidth - pass a numeric value, like 1 to make borders appear.

    plotOptions.heatmap.borderColor - pass a color, can be web color name like black or red or can be a hexadecimal value.


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