Skip to content
EliteChart

AxisAnnotationTone

Documentation


Documentation / @elitechart/core / AxisAnnotationTone

code
type AxisAnnotationTone = "up" | "down" | "neutral" | "accent";

Defined in: renderer/axis-annotation.ts:26

Tone of the annotation pill. Maps to a palette colour at draw time — up = bullish green, down = bearish red, neutral = grey, accent = brand blue.

Example

code
const tone: AxisAnnotationTone = 'up';