ZoomCharts Documentation

Version: 1.21.20 (2026-09-08)
Switch to Version 2.0 (BETA)

ZoomCharts.Configuration.LinearChartSettingsCommentsPlacementGuidance

How the placement guidance pill derives fill / stroke / text from the current placement icon accent color.

Methods

This type does not define any methods.

Properties

accentMaxLightness: number

When the accent HSL lightness is above this value, fill/stroke use a remapped accent ({@link accentTargetLightness} / {@link accentMaxSaturation}). null (default) disables remapping.

accentMaxSaturation: number

Max HSL saturation (0..1) when remapping. Default 0.70.

accentTargetLightness: number

Target HSL lightness (0..1) when remapping. Default 0.45.

fillOpacity: number

Fill opacity of the guidance pill (0..1). Default 0.1.

strokeOpacity: number

Stroke opacity of the guidance pill (0..1). Default 0.25.

text: "auto" | "accent" | "white"

Guidance text color strategy:

  • accent (default): opaque icon accent
  • auto: white for purple-leaning accents; light tint for blue-leaning
  • white: always white
textTintBlend: number

When {@link text} is "auto" and the accent is blue-leaning, blend toward white by this amount (0..1). Default 0.65.

X