Interface: Options<TXAxisOptions, TYAxisOptions>
Type parameters
| Name | Type |
|---|---|
TXAxisOptions | AxisOptions |
TYAxisOptions | TXAxisOptions |
Hierarchy
Options
Properties
width
• Optional width: string | number
Specify a fixed width for the chart as a string (i.e. '100px' or '50%')
Defined in
height
• Optional height: string | number
Specify a fixed height for the chart as a string (i.e. '100px' or '50%')
Defined in
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
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
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
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
axisX
• Optional axisX: TXAxisOptions
Options for X-Axis
Defined in
axisY
• Optional axisY: TYAxisOptions
Options for Y-Axis
Defined in
classNames
• Optional classNames: Record<string, string>
Override the class names that get used to generate the SVG structure of the chart
Defined in
plugins
• Optional plugins: (Plugin | [Plugin, any])[]
Defined in
viewBox
• Optional viewBox: ViewBox
Define the ViewBox for an SVG, this is optional and only required if you need a scalable chart. This should be used together with responsive options to ensure a proper text size.