Making Colors Consistent on Dimension Values

This feature applies to Bar visuals, Line visuals, Area visuals, Combined Bar/Line visuals, and Pie visuals.

In apps where several visuals include same dimension values, it is helpful if these values are colored identically. It also removes the need for multiple legends on the same app.

For this feature to work properly, you must ensure that the target visuals use the same color palette.

In the following example, we show how to standardize colors for a US State Population app that uses a bar visual and a trellised line visual.

You must perform these steps for each visual in the app.

  1. Open the visuals in Edit mode.
  2. Click Settings on the right side of the Visuals menu.

    selecting visual settings menu

    The Settings modal window appears.

  3. In the Settings modal window, click Color.
  4. Select Colors are based on dimension values.

    setting colors based on dimension values option
    Ensuring Colors are Based on Dimension Values; Settings Color
  5. Still in the Color tab, select the same palette for all visuals.
  6. Click Apply.

  7. Click Refresh Visual.

  8. After completing all the changes, examine the app that uses them.
  9. Compare the color values for the two visual in the top graph. It can be easily seen that the legends for the visuals don't match in the top app, but are identical in the bottom app where we enabled the color consistency feature.

    Enabling Same Color on Dimension Values in an App