Interface: ControllerDatasetOptions
Hierarchy
-
↳
ControllerDatasetOptions
↳↳ BarControllerDatasetOptions
↳↳ BubbleControllerDatasetOptions
↳↳ LineControllerDatasetOptions
Properties
clip
• clip: number
| false
| ChartArea
How to clip relative to chartArea. Positive value allows overflow, negative value clips that many pixels inside chartArea. 0 = clip at chartArea. Clipping can also be configured per side: clip: {left: 5, top: false, right: -2, bottom: 0}
Defined in
index.esm.d.ts:70 (opens new window)
hidden
• hidden: boolean
Configures the visibility state of the dataset. Set it to true, to hide the dataset from the chart.
default
false
Defined in
index.esm.d.ts:88 (opens new window)
indexAxis
• indexAxis: "x"
| "y"
The base axis of the chart. ‘x’ for vertical charts and ‘y’ for horizontal charts.
default
‘x’
Defined in
index.esm.d.ts:66 (opens new window)
label
• label: string
The label for the dataset which appears in the legend and tooltips.
Defined in
index.esm.d.ts:74 (opens new window)
normalized
• normalized: boolean
Chart.js is fastest if you provide data with indices that are unique, sorted, and consistent across datasets and provide the normalized: true option to let Chart.js know that you have done so.
Inherited from
Defined in
index.esm.d.ts:58 (opens new window)
order
• order: number
The drawing order of dataset. Also affects order for stacking, tooltip and legend.
Defined in
index.esm.d.ts:78 (opens new window)
parsing
• parsing: false
| { [key: string]: string
; }
How to parse the dataset. The parsing can be disabled by specifying parsing: false at chart options or dataset. If parsing is disabled, data must be sorted and in the formats the associated chart type and scales use internally.
Inherited from
Defined in
index.esm.d.ts:49 (opens new window)
stack
• stack: string
The ID of the group to which this dataset belongs to (when stacked, each group will be a separate stack).