DB2 graphic  QMF Version 8

Creating a color map

When you want to specify a function that sets specific colors for defined value ranges, create a color map. Creating a color map using the Insert Color Map dialog box is iterative: as you define each color value, you specify a breakpoint in the sequence, select its color, and view the color map.

For example, you might want a bar chart to display bar colors depending on the values returned by the query you mapped to that layout. If you want the color to change from red to black when your product shows a profit, you can specify a named color map function.

When you define a color map, you specify its breakpoints and its colors. A breakpoint is a value at which the color changes.

There are two types of color maps:

The number of breakpoints is typically one less than the number of color values. The highest color value represents the range of values from the last breakpoint to the maximum value in the data returned. Similarly, the lowest color value represents the range of values from the minimum value in the data returned to the first breakpoint.

To create a color map, click Insert --> Color Map to display the Color Map dialog box.

Figure 29. Insert Color Map dialog box

Color maps appear in the Globals folder of each world so that you can use them anywhere in your world.

To create a color map with an automatic selection of colors and an automatic even distribution of the colors over the range of values displayed, click Distribute in the Insert Color Map dialog box. In the Distribute option, you can select a color pattern such as colors of the rainbow or shades of gray. You can also set the number of breakpoints and a minimum and maximum value and let QMF Visionary create the individual breakpoints for you.


Go to the previous page Go to the next page

Downloads | Library | Support | Support Policy | Terms of use | Feedback
Copyright IBM Corporation 1982,2004 Copyright IBM Corporation 1982, 2004
timestamp Last updated: March, 2004