Adding Color Coding to Dimensions

To specify the order in which the colors are applied to the levels of a dimension, follow the steps below:

1. Click the 'Edit' button next to the 'Color' field. This opens the color selection menu.

 

2. Press the 'Select Palette' button to open the 'Select Palette' dialog box.

 

If the selected palette does not contain enough colors to rep­resent all of the dis­tinct data groups, additional groups will be represented by col­ors from the default palette.

3. Select the desired palette from 'Select Palette' the menu, and click 'OK'.

 

4. Click on the color chips to create the desired color order.

5. Click the 'Apply' button (green triangle) to finalize the setting.

To reset the color order, click the 'Reset' button on the color menu. To synchronize the color mapping to that of other charts (in the report) which display the same dimension, click the 'Shared' button in the color panel.

 

To specify one or more custom palettes using your own color choices, create a file called colorpalettes.xml in the portal directory of the working repository (WEB-INF\classes\portal, by default). The structure of the file should be as follows:

<?xml version="1.0" encoding="UTF-8"?>

<palettes>

  <palette name="MyPalette_1">

    <colors>

      <color value="#ff0000"/>

      <color value="#00ff00"/>

      <color value="#0000ff"/>

          ...

      <color value="#00ffff"/>

    </colors>

  </palette>

  <palette name="MyPalette_2">

    <colors>

      <color value="#000000"/>

      <color value="#222222"/>

      <color value="#444444"/>

          ...

      <color value="#eeeeee"/>

    </colors>

  </palette>

</palettes>

If you designate a custom palette which has the same “palette name” as one of the built-in palettes, the custom palette will be used in place of the built-in palette.

See Also

Adding Formats to Dimensions, for information on using format to categorize.

Adding Formats to Measures, for information on using format to code data.

Adding a Sub-Series, for information on using format to create groupings.

<< Representing Data With Color © 1996-2013 InetSoft Technology Corporation (v11.5) Adding Color Coding to Measures >>