Assigning Colors to Parts of a Graph

To color a graph, select Options ® Color assignment.

The Color Assignment dialog box presents you with a list of variables representing all colorable aspects of a graph. You color the graph by setting these variables to particular colors.

A large color stripe at the top of the palette also shows the current color of each color variable you highlight.

To assign a new color to a color variable, perform these steps:

  1. Click on the color variable whose value you want to set. (If the variable is not immediately visible when you open the menu, use the scroll bars to find it.) When you have selected the variable, its current value appears in the large color stripe at the top of the menu.
  2. Assign a new color to the variable by clicking on one of the palette colors with the mouse. The large color stripe changes to the requested color. Click on the Apply button (if necessary) to apply the new color to the graph.

The variables of the Color Assignment dialog box are described in the following.

Background

This variable determines the color of the background of the view's window.

To see the background color in the view window, you must also turn on the Background color option (in the Global Options menu). If you don't, the view background is colored black or white (depending on the setting of the Background indicator, also found in the Global Options menu).

The Background variable described here should not be confused with background variables used to color the graphs themselves (inside the graph frames). These latter colors are specified by the 2D background, 3D frame base, 3D frame base right, and 3D frame base left variables.

Standard Lines

The Standard lines part of a graph occurs only in the Groups view. This part is the line separating the group of graphs from the labelling key below them. The labelling text itself is not covered by the Standard lines variable.

Main Title

This variable specifies the color of the main title and all sub-titles in all four views.

If the Main title option (in the Global Options menu) is not set, then no main title appears in the view. However, sub-titles still appear, and these are colored according to the Main title color variable.

Scale Texts

This variable determines the color of both the scale numbering and scale units for 2D and 3D graphs.

The scale numbering is usually displayed along the vertical axis of a graph. (The exceptions are the Horizontal bars and Stacked Horiz. Bars graph types, in which the scale numbering occurs horizontally). The scale units gives the units (thousands, millions, for example) at the top of the graph.

Dimension Title

This variable contains the color of the title for the set of rows or columns. Dimension titles occur directly below the names of rows and columns (along the right or left axis of the 3D graph).

The names of the rows or columns themselves are colored according to the Dimension elements color variable.

Dimension Elements

This variable contains the color of the text of row or column names. This text occurs along the right or left axis of the 3D graph.

The titles of the rows or columns as sets (the dimension titles) are colored according to the Dimension title color variable.

Contrast 1 through Contrast 6

These six variables provide the colors to be used when coloring graph objects with alternating colors.

For 2D graphs, the Alternative colors option must be set in the 2D Options menu. Otherwise, only a single color is used, and the six Contrast variables are ignored. (The single color used in this case is specified in the 2D object color variable.)

For 3D graphs, any of the 3D Colors options (except the By side option) can be set. (These are set in the 3D Options menu.) Otherwise, the Contrast variables are ignored and a single color is used. (This single color is specified in the 3D object side color variable.)

The alternating-colors mechanism does not necessarily use all six Contrast colors, even if the data contains six or more objects for display.

SAP Business Graphics attempts to spread the alternating colors evenly over the objects. It therefore checks whether the number of objects for display is an multiple of any number less than seven. If so, then the largest such number less than seven is the number of alternative colors used. Thus, if 15 vertical bars are to be displayed, they are colored with the first five of the Contrast colors.

If the number of objects for display is not a multiple of any number less than seven, then all six colors are used.

If you turn on the Alternative colors option in the 2D Options menu and don't get the colors you expect, check that you have the correct color scheme set in the Global Options menu.

2D Background

This variable determines the color of the background for the 2D frame.

In order for this color to appear, the Background option in the 2D Options menu must be set. If this option is not set, the background for the 2D frame takes the same color as the background for the containing view.

2D Object

This variable specifies the color of 2D graph objects when the Alternative colors option (in the 2D Options menu) is turned off.

2D Area Contours

This variable determines the color of the outline of the 2D frame.

2D Object Contours

This variable determines the color of the outlines of 2D objects.

2D Background Grid

This variable determines the color of the horizontal gridlines appearing in the background of the 2D frame. These lines measure distance (scale units) along the vertical axis.

You can turn the 2D background grid lines on and off using the Background grid option (in the 2D Options menu).

2D Background Text

This variable determines the color of text (row and column names) appearing in the background of the 2D graph. Text for these names appears in the frame background (that is, within the frame, next to the graph objects) only when the Alternative texts option (in the 2D Options menu) is turned on.

3D Frame Base

This variable determines the color of the floor of the 3D frame.

3D Frame Base Right

This variable determines the color of the right back wall of the 3D frame.

3D Frame Base Left

This variable determines the color of the left back wall of the 3D frame.

3D Object Top

This variable determines the color of the top surface of objects in a 3D graph.

3D Object Negative

This variable is the same as 3D object top, except that it is used to color the tops of objects with negative values. The top surface of a negative-value object thus marks the zero point in the vertical axis.

Coloring these top surfaces differently than those for positive-value objects helps the viewer see quickly that the negative-value objects count downward from the zero line.

3D Object Side

This variable determines the color of 3D objects (all sides except the top surface) when you select the 3D Colors  ®  Single color option (in the 3D Options menu).

3D Object Panels 1 through 4

These variables specify colors for the sides of 3D objects when you select the 3D Colors  ®  By side option (in the 3D Options menu). See the section By side in Assigning Colors to 3D Objects.

3D Menu Background

This variable gives the background color for the selection bar (in the Selection view) that is currently highlighted.

The background color for non-highlighted selection bars depends on whether the selection bars currently contain rows or columns. If they contain the rows (left side of the 3D frame), the non-highlighted background color is given by the 3D frame base right variable. If they contain the columns (right side of the 3D frame), the non-highlighted background color is given by the 3D frame base left variable.

3D Area Contours

This variable determines the color of the outline of the 3D frame.

3D Object Scaling Lines

This variable provides the color for the horizontal gridlines on the back walls of the 3D frame. These lines measure distance (scale units) along the vertical axis.

Unlike the horizontal gridlines in 2D graphs, the scale lines in 3D graphs are not optional: they are always there. If you don't want them in your graph, you can set their color to the same color as 3D frame base right and 3D frame base left variables. The scale lines are then invisible.

The 3D object scaling lines variable also provides the color for the gridlines on actual 3D objects. These lines only appear when the Object scaling option (in the 3D Options menu) is turned on.

3D Row/Column Lines

This variable determines the color for:

  • gridlines on the base of the 3D frame
  • vertical gridlines on the back walls of the 3D frame

These lines only appear when the Row/column lines option (in the 3D Options menu) is turned on.

3D Object Contours

This variable determines the color of the outline of objects in the 3D graph.

3D Menu Text

This variable determines the color of the text appearing in the selection bars (in the Selection view).