Skip to main content

Color By / Stacking

Color Options

Color sets a facet across the given data set to create individual series. Color options also include stacking controls for the visualization.

There will be slightly different options for strings, dates, and numerics. Strings only offer discrete bucketing, while dates and numerics will offer bother discrete (nominal) and continuous (temporal or quantitative) coloring. Note also that the palette options will change for discrete vs continuous, with discrete offering diverging color palettes and continuous offering a set of gradient color palettes.

When continuous options are not offered on an apparent date or numeric, casting the field may solve the problem.

String Color Options

Numeric Color Options

Date Color Options

Stacking Options

Several stacking options are offered:

  • Automatic: Omni will attempt to select the best option from the four below
  • Stack: The series will be stacked
  • Group: The series will appear side-by-side (only offered for bar charts)
  • Overlay: The series will appear ontop of each other. This is how points and lines frequently work, but rarely valuable for bar.
  • Stack %: The series will be stacked, and shown as the percentage rather than the absolute values (note the tooltip will show the raw value, not the percentage, so to add percentage it's recommended to use table calculations like % of row)

Legend Options

Users can choose if the legend is on the right, left, top, or bottom of the chart or if it should be hidden.

Color Palettes and Color Control

16 diverging paletters are offered for nominal series types, and 54 palettes are offered for continuous series types. Additionally, the bottom option offers a fully customized palette, where each color can be selected one-by-one, using a visual selector or a hex code.

When using color faceting, the series are not indepdendently configurable. For independent configuration of a given series, it's recommended to use filtered measures (simple to create from pivots).

Series Color Controls

Color controls will also become available on a series-by-series basis when no color facet is applied (ie. with a single measure and no color, or with multiple measures). This will offer a simple color picker for each series. For charts using color by, there is currently no configuration to lock a color to a given dimension or pivot, but will be offered in the future.

Custom Colors

The bottom palette in the color picker allows for the creation of a custom palette for a given chart. Right now these are not sticky across a workbook or environment, but palette options should become available in the future.