Skip to content

grafit-charts


Interface: CaptionOptions

Extends

Properties

color?

optional color?: string

Inherited from

FontOptions.color


enabled?

optional enabled?: boolean

Inherited from

Switchable.enabled


fontFamily?

optional fontFamily?: string

Inherited from

FontOptions.fontFamily


fontSize?

optional fontSize?: number

Inherited from

FontOptions.fontSize


fontStyle?

optional fontStyle?: FontStyle

Inherited from

FontOptions.fontStyle


fontWeight?

optional fontWeight?: FontWeight

Inherited from

FontOptions.fontWeight


position?

optional position?: "bottom" | "top"

Vertical placement: above ('top', default) or below ('bottom') the plot.


spacing?

optional spacing?: number

Gap separating the caption from the plot area (8 by default).


text?

optional text?: string


textAlign?

optional textAlign?: "center" | "left" | "right"

Horizontal alignment within the chart width ('center' by default).