BackPrevious Page Next PageNext

Formatting the Rectangles and Rectangle Titles in a Heat Map

To format the rectangles in a heat map:

  1. When there is only one group in the heat map, right-click on the heat map and select Format Rectangle from the shortcut menu to bring up the Format Rectangle dialog.

    When there are two or more groups in the heat map, right-click on the heat map, then from the Format Rectangle submenu, select a desired group field to bring up the Format Rectangle dialog for the field.

  2. In the Fill tab, specify the fill color of the rectangles: Use Single Color, or Use Single Color with Condition.

    If you select Use Single Color:

    If you select Use Single Color with Condition to fill the rectangles, specify the conditions and the color pattern bound with each condition respectively. For details, refer to Adding Conditional Color Fills to Charts.

  3. In the Separator tab, specify the color, transparency, line style, and thickness of the lines separating the rectangles. JReport Designer preview shows a bad layout and in the exported results when separator thickness is set to a big value.

    Format Rectangle dialog - Separator

  4. For a heat map chart in a library component, you can define web behaviors on the rectangles in the Behaviors tab.

    Format Rectangle dialog for library component - Behaviors

    Select a trigger event from the drop-down list in the Events column, then click in the Actions column and click Choose button that appears in the text box. In the Web Action List dialog, bind a web action to the rectangles the same as you do to a label in the library component, which will be triggered when the specified event occurs on the rectangles. The web actions you can bind include Parameter, Filter, Sort, Change Property and Send Message.

    To add more web behaviors, click Add button and define them as required; if a web behavior is not required, select it and click Remove button. Click Move Up button or Move Down button to adjust the order of the behaviors, then at runtime when an event that has been bound with more than one action happens, the upper action will be triggered first.

  5. Click OK to accept the changes and close the dialog.

To format the titles for rectangles in a heat map:

  1. When there is only one group in the heat map, right-click on the heat map and select Format Rectangle Title from the shortcut menu to bring up the Format Rectangle Title dialog.

    When there are two or more groups in the heat map, right-click on the heat map, then from the Format Rectangle Title submenu, select a desired group to bring up the Format Rectangle Title dialog for the group.

  2. In the General tab, specify the height, fill color, and font color of the rectangle titles (to change a color, click the color image and select a color from the color palette or input the hexadecimal value of a color directly in the text box).

    Format Rectangle Title dialog - General

  3. In the Font tab, set the font settings for the titles.

    Format Rectangle Title dialog - Font

  4. In the Border tab, set the border color, thickness, line styles, and whether the borders have shadow effect and the shadow color if yes.

    Format Rectangle Title dialog - Border

  5. Click OK to accept the changes and close the dialog.

BackPrevious Page Next PageNext