Charts Styling

Palette, series colors, axis color scales, and gradient fills for Orbital charts.

Series colors resolve from per-series overrides, axis color_scale, then the chart palette. Gradients attach via ChartLinearGradient defs referenced in series color.

  • Brand-aligned dashboards that override the default categorical palette.
  • Ordinal axis color maps that tint bars by category.
  • Gradient bar fills when magnitude should reinforce color.
  • Pass palette for chart-wide categorical colors from OrbitalChartPalette.
  • Set color on individual SeriesDef entries to override one series.
  • Attach color_scale on band axes for ordinal category coloring.
  • Register ChartLinearGradient in ChartDefs and reference it in series color.
Palette, series colors, and gradient fill

Custom palette with per-series overrides plus a gradient-filled bar via composition. The top chart shows palette + ordinal axis coloring; the bottom uses url(#…) series color.

50100150200Amount (USD)Q1Q2Q3Q4Quarter
50100150200Amount (USD)Q1Q2Q3Q4Quarter