Skip to content
EliteChart

AxisAnnotationStyle

Documentation


Documentation / @elitechart/core / AxisAnnotationStyle

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

Style hooks for axis-annotation pills. Override fields by spreading over DEFAULT_AXIS_ANNOTATION_STYLE.

Example

code
const s: AxisAnnotationStyle = {
  ...DEFAULT_AXIS_ANNOTATION_STYLE,
  accentColor: '#22c55e',
};

Properties

accentColor

code
readonly accentColor: string;

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


downColor

code
readonly downColor: string;

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


font

code
readonly font: string;

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


neutralColor

code
readonly neutralColor: string;

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


textColor

code
readonly textColor: string;

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


textColorOnLight

code
readonly textColorOnLight: string;

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


upColor

code
readonly upColor: string;

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