Changing Series Colors

To customize the color used for each curve in a graph, right-click on a data point and select Change Series Color..., which brings up the following dialog.

Chapter7 27.png

Click on a color in the Select a new color grid on the left to change the color for the item selected in the Color to use for dropdown. By changing the Color to use for selection, you can customize the entire color series.

The radio buttons allow you to control the scope and associations of your customization. A subset of these will appear, depending on which ones are applicable to your graph.

  • General color sequence, this graph only: The color sequence you create applies only to this graph, and the same sequence of colors will be used for any index or value that is selected for the color key. Therefore, if you pivot your graph, selecting a different index for color, this sequence will be used. However, the sequence will not be applied to indexes that have color sequence associated with them (the 4th and 5th options).
  • Default color sequence for all graphs: Your color sequence in used as the default for all graphs in the model.
  • General color sequence for the style template: Your color sequence is stored with the current graph template (see Graph templates, and is used for all graphs that use this template. The same sequence is used for any index or value selected in the color role, unless a color sequence is associated with that index.
  • Color sequence associated with the index.: Use this option if you want to standardize on a sequence of colors for the index, so that whenever a graph anywhere in the model uses this index, it will use this same set of colors. For example, you may want 'Solar PV'to always display as yellow, 'Hydroelectric' to always display in blue, 'Coal' to always display in black, etc. The color settings apply only to the index that currently determines color, so if you pivot another index of value into the color role, these colors will not be used. If you graph a different variable in your model that has this index and uses if for color, it will use this same set of colors. If you do not have a color key, but an index with a color association appears as a slicer, the color for the selected value determines the curve color. If there is more than one index with an association, the top-most one is used. If you insert elements into your index at a later time, the color sequence is automatically spliced, meaning that the color associated with 'Solar PV', even though it may change from being the second element to being the third.
  • The index is a subset of another index and uses its color sequence.: You may have an index that is a copy of another index, a re-ordering of another index, or a subset of another index. For example, the index Selected_technologies may be a subset of Technology, so that if you’ve associated a custom color sequence with Technology, you probably want to use the same sequence for Selected_technologies. Select this option where you are viewing a graph in which the subset index (e.g, Selected_technologies) determines color. When you select the option, you’ll be prompted to select the superset index (e.g., Technology), which then determines a consistent color sequence for the two. If you change a color, it will change the color for the superset index. This option applies to all graphs in the model that use the subset index.

See Also


You are not allowed to post comments.