Color scales
Breaking a measure down by a dimension creates one series per distinct value of that dimension, each taking a color from the active palette. The dimension’s type decides which palettes are offered:
For strings, only discrete bucketing is available. For dates and numbers, you can choose whether each
value gets its own distinct color (discrete) or a gradient is applied across the range (continuous).
If a date or numeric field only offers discrete options, try casting the field to the appropriate
type.
A measure with no break-down is drawn as a single series in one color, picked automatically as the
next palette color after every break-down’s values so it never collides with them. Set it explicitly
with the Color swatch in that measure’s row.
Two measures broken down by the same dimension share its color scale: the same value is the same
color in both, and a palette change on either applies to both. Each measure still keeps its own
legend row.
Palettes
Discrete palettes
For discrete data, colors from the palette are applied in palette order, matching the sort order of the query results. Change the palette order by adjusting the sort in your query. Enable Reverse colors to reverse the order colors are applied.Continuous (gradient) palettes
For continuous data, the gradient palette maps to the range of values in your results. Select a different gradient from the palette dropdown to change the color treatment.Custom palettes
If none of the provided palettes fit your needs, you can build a custom palette for an individual chart:- Open the palette control on the Style tab.
- Select the last option in the palette menu: Custom palette.
- Click Customize to open the palette editor.
- Add, remove, and edit individual hex colors.
- Use Open hex code editor to toggle a bulk editor and paste a comma-separated list of hex values.
Legend
The Legend section at the bottom of the Style tab configures the chart’s legend:
On a bar, line, area, or scatter chart, each measure gets its own legend row titled with the measure
name: a broken-down measure lists its values, a measure with no break-down shows its symbol alone.
Clicking an entry hides only that measure’s series, so a value shared by two measures’ break-downs is
hidden where you clicked it and left alone in the other legend.
Other chart types decide for themselves whether a legend starts on: a pie carries one regardless, a
funnel starts without one, and a sankey has none to configure.