The built-in colorLegend() helper supports placement and sizing, but its item typography, label colors, indicators, alignment, and spacing cannot be configured. Matching common line, bar, and pie legends therefore requires replacing the helper with a complete ChartColorLegend scene renderer and taking ownership of measurement and wrapping.
Would it be possible to expose basic item presentation options, including typography, label color, indicator shape or renderer, alignment, and spacing, while retaining the built-in layout behavior?
The built-in
colorLegend()helper supports placement and sizing, but its item typography, label colors, indicators, alignment, and spacing cannot be configured. Matching common line, bar, and pie legends therefore requires replacing the helper with a completeChartColorLegendscene renderer and taking ownership of measurement and wrapping.Would it be possible to expose basic item presentation options, including typography, label color, indicator shape or renderer, alignment, and spacing, while retaining the built-in layout behavior?