Skip to content

grafit-charts


Interface: GroupedCategoryAxisOptions

Extends

  • AxisBaseOptions

Properties

crossLines?

optional crossLines?: AxisCrossLineOptions[]

Inherited from

AxisBaseOptions.crossLines


gridLine?

optional gridLine?: Switchable & object

Type Declaration

lineDash?

optional lineDash?: number[]

stroke?

optional stroke?: string

width?

optional width?: number

Inherited from

AxisBaseOptions.gridLine


interval?

optional interval?: object

minSpacing?

optional minSpacing?: number

Minimum spacing between labels, px.

values?

optional values?: unknown[]

Explicit tick values.

Inherited from

AxisBaseOptions.interval


label?

optional label?: Switchable & FontOptions & object

Type Declaration

avoidCollisions?

optional avoidCollisions?: boolean

Skip overlapping labels (true by default).

format?

optional format?: string

Serializable format string (',.2f', '.0%', '%d %b').

formatter?

optional formatter?: (params) => string

Parameters
params

AxisLabelFormatterParams

Returns

string

spacing?

optional spacing?: number

Inherited from

AxisBaseOptions.label


line?

optional line?: Switchable & object

Type Declaration

stroke?

optional stroke?: string

width?

optional width?: number

Inherited from

AxisBaseOptions.line


paddingInner?

optional paddingInner?: number


paddingOuter?

optional paddingOuter?: number


position?

optional position?: AxisPosition

Inherited from

AxisBaseOptions.position


tick?

optional tick?: Switchable & object

Type Declaration

size?

optional size?: number

stroke?

optional stroke?: string

width?

optional width?: number

Inherited from

AxisBaseOptions.tick


title?

optional title?: Switchable & FontOptions & object

Type Declaration

text?

optional text?: string

Inherited from

AxisBaseOptions.title


type

type: "grouped-category"