Skip to main content

Interface: Options<TXAxisOptions, TYAxisOptions>

Type parameters

NameType
TXAxisOptionsAxisOptions
TYAxisOptionsTXAxisOptions

Hierarchy

Properties

width

Optional width: string | number

Specify a fixed width for the chart as a string (i.e. '100px' or '50%')

Defined in

core/types.ts:35


height

Optional height: string | number

Specify a fixed height for the chart as a string (i.e. '100px' or '50%')

Defined in

core/types.ts:39


low

Optional low: number

Overriding the natural low of the chart allows you to zoom in or limit the charts lowest displayed value

Defined in

core/types.ts:43


high

Optional high: number

Overriding the natural high of the chart allows you to zoom in or limit the charts highest displayed value

Defined in

core/types.ts:47


referenceValue

Optional referenceValue: number

Unless low/high are explicitly set, bar chart will be centered at zero by default. Set referenceValue to null to auto scale.

Defined in

core/types.ts:51


chartPadding

Optional chartPadding: number | Partial<ChartPadding>

Padding of the chart drawing area to the container element and labels as a number or padding object.

Defined in

core/types.ts:55


axisX

Optional axisX: TXAxisOptions

Options for X-Axis

Defined in

core/types.ts:59


axisY

Optional axisY: TYAxisOptions

Options for Y-Axis

Defined in

core/types.ts:63


classNames

Optional classNames: Record<string, string>

Override the class names that get used to generate the SVG structure of the chart

Defined in

core/types.ts:67


plugins

Optional plugins: (Plugin | [Plugin, any])[]

Defined in

core/types.ts:69