AxisAnnotation
Documentation / @elitechart/core / AxisAnnotation
Defined in: renderer/axis-annotation.ts:47
One pill on the right price gutter. Pass to
chart.addAxisAnnotation(...).
Example
Properties
emphasis?
Defined in: renderer/axis-annotation.ts:57
Emphasis — bold (default) is filled; subtle is outlined.
id
Defined in: renderer/axis-annotation.ts:49
Stable id so consumers can update / remove individual entries.
label
Defined in: renderer/axis-annotation.ts:53
What text the pill shows.
price
Defined in: renderer/axis-annotation.ts:51
Where the pill anchors on the price axis.
tone?
Defined in: renderer/axis-annotation.ts:55
Tone — picks the colour per palette below. Defaults to accent.