UNPKG

chart.js

Version:

Simple HTML5 charts using the canvas element.

1 lines 69.7 kB
(window.webpackJsonp=window.webpackJsonp||[]).push([[59],{390:function(t,e,a){"use strict";a.r(e);var r=a(6),i=Object(r.a)({},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h1",{attrs:{id:"interface-defaults"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#interface-defaults"}},[t._v("#")]),t._v(" Interface: Defaults")]),t._v(" "),a("h2",{attrs:{id:"hierarchy"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#hierarchy"}},[t._v("#")]),t._v(" Hierarchy")]),t._v(" "),a("ul",[a("li",[a("p",[a("RouterLink",{attrs:{to:"/api/interfaces/CoreChartOptions.html"}},[a("code",[t._v("CoreChartOptions")])]),t._v("<"),a("RouterLink",{attrs:{to:"/api/#charttype"}},[a("code",[t._v("ChartType")])]),t._v(">")],1)]),t._v(" "),a("li",[a("p",[a("RouterLink",{attrs:{to:"/api/#elementchartoptions"}},[a("code",[t._v("ElementChartOptions")])]),t._v("<"),a("RouterLink",{attrs:{to:"/api/#charttype"}},[a("code",[t._v("ChartType")])]),t._v(">")],1)]),t._v(" "),a("li",[a("p",[a("RouterLink",{attrs:{to:"/api/interfaces/PluginChartOptions.html"}},[a("code",[t._v("PluginChartOptions")])]),t._v("<"),a("RouterLink",{attrs:{to:"/api/#charttype"}},[a("code",[t._v("ChartType")])]),t._v(">")],1),t._v(" "),a("p",[t._v("↳ "),a("strong",[a("code",[t._v("Defaults")])])])])]),t._v(" "),a("h2",{attrs:{id:"properties"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#properties"}},[t._v("#")]),t._v(" Properties")]),t._v(" "),a("h3",{attrs:{id:"animation"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#animation"}},[t._v("#")]),t._v(" animation")]),t._v(" "),a("p",[t._v("• "),a("strong",[t._v("animation")]),t._v(": "),a("code",[t._v("false")]),t._v(" | "),a("RouterLink",{attrs:{to:"/api/#animationspec"}},[a("code",[t._v("AnimationSpec")])]),t._v("<keyof "),a("RouterLink",{attrs:{to:"/api/interfaces/ChartTypeRegistry.html"}},[a("code",[t._v("ChartTypeRegistry")])]),t._v("> & { "),a("code",[t._v("onComplete?")]),t._v(": ("),a("code",[t._v("event")]),t._v(": "),a("RouterLink",{attrs:{to:"/api/interfaces/AnimationEvent.html"}},[a("code",[t._v("AnimationEvent")])]),t._v(") => "),a("code",[t._v("void")]),t._v(" ; "),a("code",[t._v("onProgress?")]),t._v(": ("),a("code",[t._v("event")]),t._v(": "),a("RouterLink",{attrs:{to:"/api/interfaces/AnimationEvent.html"}},[a("code",[t._v("AnimationEvent")])]),t._v(") => "),a("code",[t._v("void")]),t._v(" }")],1),t._v(" "),a("h4",{attrs:{id:"inherited-from"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#inherited-from"}},[t._v("#")]),t._v(" Inherited from")]),t._v(" "),a("p",[a("RouterLink",{attrs:{to:"/api/interfaces/CoreChartOptions.html"}},[t._v("CoreChartOptions")]),t._v("."),a("RouterLink",{attrs:{to:"/api/interfaces/CoreChartOptions.html#animation"}},[t._v("animation")])],1),t._v(" "),a("h4",{attrs:{id:"defined-in"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#defined-in"}},[t._v("#")]),t._v(" Defined in")]),t._v(" "),a("p",[a("a",{attrs:{href:"https://github.com/chartjs/Chart.js/blob/7079a1c/types/index.esm.d.ts#L1640",target:"_blank",rel:"noopener noreferrer"}},[t._v("index.esm.d.ts:1640"),a("OutboundLink")],1)]),t._v(" "),a("hr"),t._v(" "),a("h3",{attrs:{id:"animations"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#animations"}},[t._v("#")]),t._v(" animations")]),t._v(" "),a("p",[t._v("• "),a("strong",[t._v("animations")]),t._v(": "),a("RouterLink",{attrs:{to:"/api/#animationsspec"}},[a("code",[t._v("AnimationsSpec")])]),t._v("<keyof "),a("RouterLink",{attrs:{to:"/api/interfaces/ChartTypeRegistry.html"}},[a("code",[t._v("ChartTypeRegistry")])]),t._v(">")],1),t._v(" "),a("h4",{attrs:{id:"inherited-from-2"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#inherited-from-2"}},[t._v("#")]),t._v(" Inherited from")]),t._v(" "),a("p",[a("RouterLink",{attrs:{to:"/api/interfaces/CoreChartOptions.html"}},[t._v("CoreChartOptions")]),t._v("."),a("RouterLink",{attrs:{to:"/api/interfaces/CoreChartOptions.html#animations"}},[t._v("animations")])],1),t._v(" "),a("h4",{attrs:{id:"defined-in-2"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#defined-in-2"}},[t._v("#")]),t._v(" Defined in")]),t._v(" "),a("p",[a("a",{attrs:{href:"https://github.com/chartjs/Chart.js/blob/7079a1c/types/index.esm.d.ts#L1650",target:"_blank",rel:"noopener noreferrer"}},[t._v("index.esm.d.ts:1650"),a("OutboundLink")],1)]),t._v(" "),a("hr"),t._v(" "),a("h3",{attrs:{id:"aspectratio"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#aspectratio"}},[t._v("#")]),t._v(" aspectRatio")]),t._v(" "),a("p",[t._v("• "),a("strong",[t._v("aspectRatio")]),t._v(": "),a("code",[t._v("number")])]),t._v(" "),a("p",[t._v("Canvas aspect ratio (i.e. width / height, a value of 1 representing a square canvas). Note that this option is ignored if the height is explicitly defined either as attribute or via the style.")]),t._v(" "),a("p",[a("strong",[a("code",[t._v("default")])]),t._v(" 2")]),t._v(" "),a("h4",{attrs:{id:"inherited-from-3"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#inherited-from-3"}},[t._v("#")]),t._v(" Inherited from")]),t._v(" "),a("p",[a("RouterLink",{attrs:{to:"/api/interfaces/CoreChartOptions.html"}},[t._v("CoreChartOptions")]),t._v("."),a("RouterLink",{attrs:{to:"/api/interfaces/CoreChartOptions.html#aspectratio"}},[t._v("aspectRatio")])],1),t._v(" "),a("h4",{attrs:{id:"defined-in-3"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#defined-in-3"}},[t._v("#")]),t._v(" Defined in")]),t._v(" "),a("p",[a("a",{attrs:{href:"https://github.com/chartjs/Chart.js/blob/7079a1c/types/index.esm.d.ts#L1505",target:"_blank",rel:"noopener noreferrer"}},[t._v("index.esm.d.ts:1505"),a("OutboundLink")],1)]),t._v(" "),a("hr"),t._v(" "),a("h3",{attrs:{id:"backgroundcolor"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#backgroundcolor"}},[t._v("#")]),t._v(" backgroundColor")]),t._v(" "),a("p",[t._v("• "),a("strong",[t._v("backgroundColor")]),t._v(": "),a("RouterLink",{attrs:{to:"/api/#scriptable"}},[a("code",[t._v("Scriptable")])]),t._v("<"),a("RouterLink",{attrs:{to:"/api/#color"}},[a("code",[t._v("Color")])]),t._v(", "),a("RouterLink",{attrs:{to:"/api/interfaces/ScriptableContext.html"}},[a("code",[t._v("ScriptableContext")])]),t._v("<keyof "),a("RouterLink",{attrs:{to:"/api/interfaces/ChartTypeRegistry.html"}},[a("code",[t._v("ChartTypeRegistry")])]),t._v(">>")],1),t._v(" "),a("p",[t._v("base background color")]),t._v(" "),a("p",[a("strong",[a("code",[t._v("see")])]),t._v(" Defaults.backgroundColor")]),t._v(" "),a("h4",{attrs:{id:"inherited-from-4"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#inherited-from-4"}},[t._v("#")]),t._v(" Inherited from")]),t._v(" "),a("p",[a("RouterLink",{attrs:{to:"/api/interfaces/CoreChartOptions.html"}},[t._v("CoreChartOptions")]),t._v("."),a("RouterLink",{attrs:{to:"/api/interfaces/CoreChartOptions.html#backgroundcolor"}},[t._v("backgroundColor")])],1),t._v(" "),a("h4",{attrs:{id:"defined-in-4"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#defined-in-4"}},[t._v("#")]),t._v(" Defined in")]),t._v(" "),a("p",[a("a",{attrs:{href:"https://github.com/chartjs/Chart.js/blob/7079a1c/types/index.esm.d.ts#L1474",target:"_blank",rel:"noopener noreferrer"}},[t._v("index.esm.d.ts:1474"),a("OutboundLink")],1)]),t._v(" "),a("hr"),t._v(" "),a("h3",{attrs:{id:"bordercolor"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#bordercolor"}},[t._v("#")]),t._v(" borderColor")]),t._v(" "),a("p",[t._v("• "),a("strong",[t._v("borderColor")]),t._v(": "),a("RouterLink",{attrs:{to:"/api/#scriptable"}},[a("code",[t._v("Scriptable")])]),t._v("<"),a("RouterLink",{attrs:{to:"/api/#color"}},[a("code",[t._v("Color")])]),t._v(", "),a("RouterLink",{attrs:{to:"/api/interfaces/ScriptableContext.html"}},[a("code",[t._v("ScriptableContext")])]),t._v("<keyof "),a("RouterLink",{attrs:{to:"/api/interfaces/ChartTypeRegistry.html"}},[a("code",[t._v("ChartTypeRegistry")])]),t._v(">>")],1),t._v(" "),a("p",[t._v("base border color")]),t._v(" "),a("p",[a("strong",[a("code",[t._v("see")])]),t._v(" Defaults.borderColor")]),t._v(" "),a("h4",{attrs:{id:"inherited-from-5"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#inherited-from-5"}},[t._v("#")]),t._v(" Inherited from")]),t._v(" "),a("p",[a("RouterLink",{attrs:{to:"/api/interfaces/CoreChartOptions.html"}},[t._v("CoreChartOptions")]),t._v("."),a("RouterLink",{attrs:{to:"/api/interfaces/CoreChartOptions.html#bordercolor"}},[t._v("borderColor")])],1),t._v(" "),a("h4",{attrs:{id:"defined-in-5"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#defined-in-5"}},[t._v("#")]),t._v(" Defined in")]),t._v(" "),a("p",[a("a",{attrs:{href:"https://github.com/chartjs/Chart.js/blob/7079a1c/types/index.esm.d.ts#L1479",target:"_blank",rel:"noopener noreferrer"}},[t._v("index.esm.d.ts:1479"),a("OutboundLink")],1)]),t._v(" "),a("hr"),t._v(" "),a("h3",{attrs:{id:"clip"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#clip"}},[t._v("#")]),t._v(" clip")]),t._v(" "),a("p",[t._v("• "),a("strong",[t._v("clip")]),t._v(": "),a("code",[t._v("number")]),t._v(" | "),a("code",[t._v("false")]),t._v(" | "),a("RouterLink",{attrs:{to:"/api/interfaces/ChartArea.html"}},[a("code",[t._v("ChartArea")])])],1),t._v(" "),a("p",[t._v("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}")]),t._v(" "),a("h4",{attrs:{id:"inherited-from-6"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#inherited-from-6"}},[t._v("#")]),t._v(" Inherited from")]),t._v(" "),a("p",[a("RouterLink",{attrs:{to:"/api/interfaces/CoreChartOptions.html"}},[t._v("CoreChartOptions")]),t._v("."),a("RouterLink",{attrs:{to:"/api/interfaces/CoreChartOptions.html#clip"}},[t._v("clip")])],1),t._v(" "),a("h4",{attrs:{id:"defined-in-6"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#defined-in-6"}},[t._v("#")]),t._v(" Defined in")]),t._v(" "),a("p",[a("a",{attrs:{href:"https://github.com/chartjs/Chart.js/blob/7079a1c/types/index.esm.d.ts#L1463",target:"_blank",rel:"noopener noreferrer"}},[t._v("index.esm.d.ts:1463"),a("OutboundLink")],1)]),t._v(" "),a("hr"),t._v(" "),a("h3",{attrs:{id:"color"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#color"}},[t._v("#")]),t._v(" color")]),t._v(" "),a("p",[t._v("• "),a("strong",[t._v("color")]),t._v(": "),a("RouterLink",{attrs:{to:"/api/#scriptable"}},[a("code",[t._v("Scriptable")])]),t._v("<"),a("RouterLink",{attrs:{to:"/api/#color"}},[a("code",[t._v("Color")])]),t._v(", "),a("RouterLink",{attrs:{to:"/api/interfaces/ScriptableContext.html"}},[a("code",[t._v("ScriptableContext")])]),t._v("<keyof "),a("RouterLink",{attrs:{to:"/api/interfaces/ChartTypeRegistry.html"}},[a("code",[t._v("ChartTypeRegistry")])]),t._v(">>")],1),t._v(" "),a("p",[t._v("base color")]),t._v(" "),a("p",[a("strong",[a("code",[t._v("see")])]),t._v(" Defaults.color")]),t._v(" "),a("h4",{attrs:{id:"inherited-from-7"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#inherited-from-7"}},[t._v("#")]),t._v(" Inherited from")]),t._v(" "),a("p",[a("RouterLink",{attrs:{to:"/api/interfaces/CoreChartOptions.html"}},[t._v("CoreChartOptions")]),t._v("."),a("RouterLink",{attrs:{to:"/api/interfaces/CoreChartOptions.html#color"}},[t._v("color")])],1),t._v(" "),a("h4",{attrs:{id:"defined-in-7"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#defined-in-7"}},[t._v("#")]),t._v(" Defined in")]),t._v(" "),a("p",[a("a",{attrs:{href:"https://github.com/chartjs/Chart.js/blob/7079a1c/types/index.esm.d.ts#L1469",target:"_blank",rel:"noopener noreferrer"}},[t._v("index.esm.d.ts:1469"),a("OutboundLink")],1)]),t._v(" "),a("hr"),t._v(" "),a("h3",{attrs:{id:"datasets"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#datasets"}},[t._v("#")]),t._v(" datasets")]),t._v(" "),a("p",[t._v("• "),a("strong",[t._v("datasets")]),t._v(": "),a("code",[t._v("Object")])]),t._v(" "),a("h4",{attrs:{id:"type-declaration"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#type-declaration"}},[t._v("#")]),t._v(" Type declaration")]),t._v(" "),a("table",[a("thead",[a("tr",[a("th",{staticStyle:{"text-align":"left"}},[t._v("Name")]),t._v(" "),a("th",{staticStyle:{"text-align":"left"}},[t._v("Type")])])]),t._v(" "),a("tbody",[a("tr",[a("td",{staticStyle:{"text-align":"left"}},[a("code",[t._v("bar")])]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[a("RouterLink",{attrs:{to:"/api/interfaces/BarControllerDatasetOptions.html"}},[a("code",[t._v("BarControllerDatasetOptions")])])],1)]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"left"}},[a("code",[t._v("bubble")])]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[a("RouterLink",{attrs:{to:"/api/interfaces/BubbleControllerDatasetOptions.html"}},[a("code",[t._v("BubbleControllerDatasetOptions")])])],1)]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"left"}},[a("code",[t._v("doughnut")])]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[a("RouterLink",{attrs:{to:"/api/interfaces/DoughnutControllerDatasetOptions.html"}},[a("code",[t._v("DoughnutControllerDatasetOptions")])])],1)]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"left"}},[a("code",[t._v("line")])]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[a("RouterLink",{attrs:{to:"/api/interfaces/LineControllerDatasetOptions.html"}},[a("code",[t._v("LineControllerDatasetOptions")])]),t._v(" & "),a("RouterLink",{attrs:{to:"/api/interfaces/FillerControllerDatasetOptions.html"}},[a("code",[t._v("FillerControllerDatasetOptions")])])],1)]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"left"}},[a("code",[t._v("pie")])]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[a("RouterLink",{attrs:{to:"/api/interfaces/DoughnutControllerDatasetOptions.html"}},[a("code",[t._v("DoughnutControllerDatasetOptions")])])],1)]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"left"}},[a("code",[t._v("polarArea")])]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[a("RouterLink",{attrs:{to:"/api/interfaces/PolarAreaControllerDatasetOptions.html"}},[a("code",[t._v("PolarAreaControllerDatasetOptions")])])],1)]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"left"}},[a("code",[t._v("radar")])]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[a("RouterLink",{attrs:{to:"/api/interfaces/RadarControllerDatasetOptions.html"}},[a("code",[t._v("RadarControllerDatasetOptions")])]),t._v(" & "),a("RouterLink",{attrs:{to:"/api/interfaces/FillerControllerDatasetOptions.html"}},[a("code",[t._v("FillerControllerDatasetOptions")])])],1)]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"left"}},[a("code",[t._v("scatter")])]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[a("RouterLink",{attrs:{to:"/api/interfaces/LineControllerDatasetOptions.html"}},[a("code",[t._v("LineControllerDatasetOptions")])])],1)])])]),t._v(" "),a("h4",{attrs:{id:"inherited-from-8"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#inherited-from-8"}},[t._v("#")]),t._v(" Inherited from")]),t._v(" "),a("p",[a("RouterLink",{attrs:{to:"/api/interfaces/CoreChartOptions.html"}},[t._v("CoreChartOptions")]),t._v("."),a("RouterLink",{attrs:{to:"/api/interfaces/CoreChartOptions.html#datasets"}},[t._v("datasets")])],1),t._v(" "),a("h4",{attrs:{id:"defined-in-8"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#defined-in-8"}},[t._v("#")]),t._v(" Defined in")]),t._v(" "),a("p",[a("a",{attrs:{href:"https://github.com/chartjs/Chart.js/blob/7079a1c/types/index.esm.d.ts#L1450",target:"_blank",rel:"noopener noreferrer"}},[t._v("index.esm.d.ts:1450"),a("OutboundLink")],1)]),t._v(" "),a("hr"),t._v(" "),a("h3",{attrs:{id:"devicepixelratio"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#devicepixelratio"}},[t._v("#")]),t._v(" devicePixelRatio")]),t._v(" "),a("p",[t._v("• "),a("strong",[t._v("devicePixelRatio")]),t._v(": "),a("code",[t._v("number")])]),t._v(" "),a("p",[t._v("Override the window's default devicePixelRatio.")]),t._v(" "),a("p",[a("strong",[a("code",[t._v("default")])]),t._v(" window.devicePixelRatio")]),t._v(" "),a("h4",{attrs:{id:"inherited-from-9"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#inherited-from-9"}},[t._v("#")]),t._v(" Inherited from")]),t._v(" "),a("p",[a("RouterLink",{attrs:{to:"/api/interfaces/CoreChartOptions.html"}},[t._v("CoreChartOptions")]),t._v("."),a("RouterLink",{attrs:{to:"/api/interfaces/CoreChartOptions.html#devicepixelratio"}},[t._v("devicePixelRatio")])],1),t._v(" "),a("h4",{attrs:{id:"defined-in-9"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#defined-in-9"}},[t._v("#")]),t._v(" Defined in")]),t._v(" "),a("p",[a("a",{attrs:{href:"https://github.com/chartjs/Chart.js/blob/7079a1c/types/index.esm.d.ts#L1522",target:"_blank",rel:"noopener noreferrer"}},[t._v("index.esm.d.ts:1522"),a("OutboundLink")],1)]),t._v(" "),a("hr"),t._v(" "),a("h3",{attrs:{id:"elements"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#elements"}},[t._v("#")]),t._v(" elements")]),t._v(" "),a("p",[t._v("• "),a("strong",[t._v("elements")]),t._v(": "),a("RouterLink",{attrs:{to:"/api/interfaces/ElementOptionsByType.html"}},[a("code",[t._v("ElementOptionsByType")])]),t._v("<keyof "),a("RouterLink",{attrs:{to:"/api/interfaces/ChartTypeRegistry.html"}},[a("code",[t._v("ChartTypeRegistry")])]),t._v(">")],1),t._v(" "),a("h4",{attrs:{id:"inherited-from-10"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#inherited-from-10"}},[t._v("#")]),t._v(" Inherited from")]),t._v(" "),a("p",[t._v("ElementChartOptions.elements")]),t._v(" "),a("h4",{attrs:{id:"defined-in-10"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#defined-in-10"}},[t._v("#")]),t._v(" Defined in")]),t._v(" "),a("p",[a("a",{attrs:{href:"https://github.com/chartjs/Chart.js/blob/7079a1c/types/index.esm.d.ts#L2047",target:"_blank",rel:"noopener noreferrer"}},[t._v("index.esm.d.ts:2047"),a("OutboundLink")],1)]),t._v(" "),a("hr"),t._v(" "),a("h3",{attrs:{id:"events"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#events"}},[t._v("#")]),t._v(" events")]),t._v(" "),a("p",[t._v("• "),a("strong",[t._v("events")]),t._v(": keyof "),a("code",[t._v("HTMLElementEventMap")]),t._v("[]")]),t._v(" "),a("p",[t._v("The events option defines the browser events that the chart should listen to for tooltips and hovering.")]),t._v(" "),a("p",[a("strong",[a("code",[t._v("default")])]),t._v(" ['mousemove', 'mouseout', 'click', 'touchstart', 'touchmove']")]),t._v(" "),a("h4",{attrs:{id:"inherited-from-11"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#inherited-from-11"}},[t._v("#")]),t._v(" Inherited from")]),t._v(" "),a("p",[a("RouterLink",{attrs:{to:"/api/interfaces/CoreChartOptions.html"}},[t._v("CoreChartOptions")]),t._v("."),a("RouterLink",{attrs:{to:"/api/interfaces/CoreChartOptions.html#events"}},[t._v("events")])],1),t._v(" "),a("h4",{attrs:{id:"defined-in-11"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#defined-in-11"}},[t._v("#")]),t._v(" Defined in")]),t._v(" "),a("p",[a("a",{attrs:{href:"https://github.com/chartjs/Chart.js/blob/7079a1c/types/index.esm.d.ts#L1532",target:"_blank",rel:"noopener noreferrer"}},[t._v("index.esm.d.ts:1532"),a("OutboundLink")],1)]),t._v(" "),a("hr"),t._v(" "),a("h3",{attrs:{id:"font"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#font"}},[t._v("#")]),t._v(" font")]),t._v(" "),a("p",[t._v("• "),a("strong",[t._v("font")]),t._v(": "),a("code",[t._v("Partial")]),t._v("<"),a("RouterLink",{attrs:{to:"/api/interfaces/FontSpec.html"}},[a("code",[t._v("FontSpec")])]),t._v(">")],1),t._v(" "),a("p",[t._v("base font")]),t._v(" "),a("p",[a("strong",[a("code",[t._v("see")])]),t._v(" Defaults.font")]),t._v(" "),a("h4",{attrs:{id:"inherited-from-12"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#inherited-from-12"}},[t._v("#")]),t._v(" Inherited from")]),t._v(" "),a("p",[a("RouterLink",{attrs:{to:"/api/interfaces/CoreChartOptions.html"}},[t._v("CoreChartOptions")]),t._v("."),a("RouterLink",{attrs:{to:"/api/interfaces/CoreChartOptions.html#font"}},[t._v("font")])],1),t._v(" "),a("h4",{attrs:{id:"defined-in-12"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#defined-in-12"}},[t._v("#")]),t._v(" Defined in")]),t._v(" "),a("p",[a("a",{attrs:{href:"https://github.com/chartjs/Chart.js/blob/7079a1c/types/index.esm.d.ts#L1484",target:"_blank",rel:"noopener noreferrer"}},[t._v("index.esm.d.ts:1484"),a("OutboundLink")],1)]),t._v(" "),a("hr"),t._v(" "),a("h3",{attrs:{id:"hover"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#hover"}},[t._v("#")]),t._v(" hover")]),t._v(" "),a("p",[t._v("• "),a("strong",[t._v("hover")]),t._v(": "),a("RouterLink",{attrs:{to:"/api/interfaces/CoreInteractionOptions.html"}},[a("code",[t._v("CoreInteractionOptions")])])],1),t._v(" "),a("h4",{attrs:{id:"inherited-from-13"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#inherited-from-13"}},[t._v("#")]),t._v(" Inherited from")]),t._v(" "),a("p",[a("RouterLink",{attrs:{to:"/api/interfaces/CoreChartOptions.html"}},[t._v("CoreChartOptions")]),t._v("."),a("RouterLink",{attrs:{to:"/api/interfaces/CoreChartOptions.html#hover"}},[t._v("hover")])],1),t._v(" "),a("h4",{attrs:{id:"defined-in-13"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#defined-in-13"}},[t._v("#")]),t._v(" Defined in")]),t._v(" "),a("p",[a("a",{attrs:{href:"https://github.com/chartjs/Chart.js/blob/7079a1c/types/index.esm.d.ts#L1526",target:"_blank",rel:"noopener noreferrer"}},[t._v("index.esm.d.ts:1526"),a("OutboundLink")],1)]),t._v(" "),a("hr"),t._v(" "),a("h3",{attrs:{id:"indexaxis"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#indexaxis"}},[t._v("#")]),t._v(" indexAxis")]),t._v(" "),a("p",[t._v("• "),a("strong",[t._v("indexAxis")]),t._v(": "),a("code",[t._v('"x"')]),t._v(" | "),a("code",[t._v('"y"')])]),t._v(" "),a("p",[t._v("The base axis of the chart. 'x' for vertical charts and 'y' for horizontal charts.")]),t._v(" "),a("p",[a("strong",[a("code",[t._v("default")])]),t._v(" 'x'")]),t._v(" "),a("h4",{attrs:{id:"inherited-from-14"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#inherited-from-14"}},[t._v("#")]),t._v(" Inherited from")]),t._v(" "),a("p",[a("RouterLink",{attrs:{to:"/api/interfaces/CoreChartOptions.html"}},[t._v("CoreChartOptions")]),t._v("."),a("RouterLink",{attrs:{to:"/api/interfaces/CoreChartOptions.html#indexaxis"}},[t._v("indexAxis")])],1),t._v(" "),a("h4",{attrs:{id:"defined-in-14"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#defined-in-14"}},[t._v("#")]),t._v(" Defined in")]),t._v(" "),a("p",[a("a",{attrs:{href:"https://github.com/chartjs/Chart.js/blob/7079a1c/types/index.esm.d.ts#L1458",target:"_blank",rel:"noopener noreferrer"}},[t._v("index.esm.d.ts:1458"),a("OutboundLink")],1)]),t._v(" "),a("hr"),t._v(" "),a("h3",{attrs:{id:"interaction"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#interaction"}},[t._v("#")]),t._v(" interaction")]),t._v(" "),a("p",[t._v("• "),a("strong",[t._v("interaction")]),t._v(": "),a("RouterLink",{attrs:{to:"/api/interfaces/CoreInteractionOptions.html"}},[a("code",[t._v("CoreInteractionOptions")])])],1),t._v(" "),a("h4",{attrs:{id:"inherited-from-15"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#inherited-from-15"}},[t._v("#")]),t._v(" Inherited from")]),t._v(" "),a("p",[a("RouterLink",{attrs:{to:"/api/interfaces/CoreChartOptions.html"}},[t._v("CoreChartOptions")]),t._v("."),a("RouterLink",{attrs:{to:"/api/interfaces/CoreChartOptions.html#interaction"}},[t._v("interaction")])],1),t._v(" "),a("h4",{attrs:{id:"defined-in-15"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#defined-in-15"}},[t._v("#")]),t._v(" Defined in")]),t._v(" "),a("p",[a("a",{attrs:{href:"https://github.com/chartjs/Chart.js/blob/7079a1c/types/index.esm.d.ts#L1524",target:"_blank",rel:"noopener noreferrer"}},[t._v("index.esm.d.ts:1524"),a("OutboundLink")],1)]),t._v(" "),a("hr"),t._v(" "),a("h3",{attrs:{id:"layout"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#layout"}},[t._v("#")]),t._v(" layout")]),t._v(" "),a("p",[t._v("• "),a("strong",[t._v("layout")]),t._v(": "),a("code",[t._v("Partial")]),t._v("<{ "),a("code",[t._v("autoPadding")]),t._v(": "),a("code",[t._v("boolean")]),t._v(" ; "),a("code",[t._v("padding")]),t._v(": "),a("RouterLink",{attrs:{to:"/api/#scriptable"}},[a("code",[t._v("Scriptable")])]),t._v("<"),a("code",[t._v("number")]),t._v(" | "),a("code",[t._v("Partial")]),t._v("<"),a("RouterLink",{attrs:{to:"/api/interfaces/ChartArea.html"}},[a("code",[t._v("ChartArea")])]),t._v(">, "),a("RouterLink",{attrs:{to:"/api/interfaces/ScriptableContext.html"}},[a("code",[t._v("ScriptableContext")])]),t._v("<keyof "),a("RouterLink",{attrs:{to:"/api/interfaces/ChartTypeRegistry.html"}},[a("code",[t._v("ChartTypeRegistry")])]),t._v(">> }>")],1),t._v(" "),a("h4",{attrs:{id:"inherited-from-16"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#inherited-from-16"}},[t._v("#")]),t._v(" Inherited from")]),t._v(" "),a("p",[a("RouterLink",{attrs:{to:"/api/interfaces/CoreChartOptions.html"}},[t._v("CoreChartOptions")]),t._v("."),a("RouterLink",{attrs:{to:"/api/interfaces/CoreChartOptions.html#layout"}},[t._v("layout")])],1),t._v(" "),a("h4",{attrs:{id:"defined-in-16"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#defined-in-16"}},[t._v("#")]),t._v(" Defined in")]),t._v(" "),a("p",[a("a",{attrs:{href:"https://github.com/chartjs/Chart.js/blob/7079a1c/types/index.esm.d.ts#L1544",target:"_blank",rel:"noopener noreferrer"}},[t._v("index.esm.d.ts:1544"),a("OutboundLink")],1)]),t._v(" "),a("hr"),t._v(" "),a("h3",{attrs:{id:"locale"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#locale"}},[t._v("#")]),t._v(" locale")]),t._v(" "),a("p",[t._v("• "),a("strong",[t._v("locale")]),t._v(": "),a("code",[t._v("string")])]),t._v(" "),a("p",[t._v("Locale used for number formatting (using "),a("code",[t._v("Intl.NumberFormat")]),t._v(").")]),t._v(" "),a("p",[a("strong",[a("code",[t._v("default")])]),t._v(" user's browser setting")]),t._v(" "),a("h4",{attrs:{id:"inherited-from-17"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#inherited-from-17"}},[t._v("#")]),t._v(" Inherited from")]),t._v(" "),a("p",[a("RouterLink",{attrs:{to:"/api/interfaces/CoreChartOptions.html"}},[t._v("CoreChartOptions")]),t._v("."),a("RouterLink",{attrs:{to:"/api/interfaces/CoreChartOptions.html#locale"}},[t._v("locale")])],1),t._v(" "),a("h4",{attrs:{id:"defined-in-17"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#defined-in-17"}},[t._v("#")]),t._v(" Defined in")]),t._v(" "),a("p",[a("a",{attrs:{href:"https://github.com/chartjs/Chart.js/blob/7079a1c/types/index.esm.d.ts#L1511",target:"_blank",rel:"noopener noreferrer"}},[t._v("index.esm.d.ts:1511"),a("OutboundLink")],1)]),t._v(" "),a("hr"),t._v(" "),a("h3",{attrs:{id:"maintainaspectratio"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#maintainaspectratio"}},[t._v("#")]),t._v(" maintainAspectRatio")]),t._v(" "),a("p",[t._v("• "),a("strong",[t._v("maintainAspectRatio")]),t._v(": "),a("code",[t._v("boolean")])]),t._v(" "),a("p",[t._v("Maintain the original canvas aspect ratio (width / height) when resizing.")]),t._v(" "),a("p",[a("strong",[a("code",[t._v("default")])]),t._v(" true")]),t._v(" "),a("h4",{attrs:{id:"inherited-from-18"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#inherited-from-18"}},[t._v("#")]),t._v(" Inherited from")]),t._v(" "),a("p",[a("RouterLink",{attrs:{to:"/api/interfaces/CoreChartOptions.html"}},[t._v("CoreChartOptions")]),t._v("."),a("RouterLink",{attrs:{to:"/api/interfaces/CoreChartOptions.html#maintainaspectratio"}},[t._v("maintainAspectRatio")])],1),t._v(" "),a("h4",{attrs:{id:"defined-in-18"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#defined-in-18"}},[t._v("#")]),t._v(" Defined in")]),t._v(" "),a("p",[a("a",{attrs:{href:"https://github.com/chartjs/Chart.js/blob/7079a1c/types/index.esm.d.ts#L1494",target:"_blank",rel:"noopener noreferrer"}},[t._v("index.esm.d.ts:1494"),a("OutboundLink")],1)]),t._v(" "),a("hr"),t._v(" "),a("h3",{attrs:{id:"normalized"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#normalized"}},[t._v("#")]),t._v(" normalized")]),t._v(" "),a("p",[t._v("• "),a("strong",[t._v("normalized")]),t._v(": "),a("code",[t._v("boolean")])]),t._v(" "),a("p",[t._v("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.")]),t._v(" "),a("h4",{attrs:{id:"inherited-from-19"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#inherited-from-19"}},[t._v("#")]),t._v(" Inherited from")]),t._v(" "),a("p",[a("RouterLink",{attrs:{to:"/api/interfaces/CoreChartOptions.html"}},[t._v("CoreChartOptions")]),t._v("."),a("RouterLink",{attrs:{to:"/api/interfaces/CoreChartOptions.html#normalized"}},[t._v("normalized")])],1),t._v(" "),a("h4",{attrs:{id:"defined-in-19"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#defined-in-19"}},[t._v("#")]),t._v(" Defined in")]),t._v(" "),a("p",[a("a",{attrs:{href:"https://github.com/chartjs/Chart.js/blob/7079a1c/types/index.esm.d.ts#L58",target:"_blank",rel:"noopener noreferrer"}},[t._v("index.esm.d.ts:58"),a("OutboundLink")],1)]),t._v(" "),a("hr"),t._v(" "),a("h3",{attrs:{id:"parsing"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#parsing"}},[t._v("#")]),t._v(" parsing")]),t._v(" "),a("p",[t._v("• "),a("strong",[t._v("parsing")]),t._v(": "),a("code",[t._v("false")]),t._v(" | { [key: string]: "),a("code",[t._v("string")]),t._v("; }")]),t._v(" "),a("p",[t._v("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.")]),t._v(" "),a("h4",{attrs:{id:"inherited-from-20"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#inherited-from-20"}},[t._v("#")]),t._v(" Inherited from")]),t._v(" "),a("p",[a("RouterLink",{attrs:{to:"/api/interfaces/CoreChartOptions.html"}},[t._v("CoreChartOptions")]),t._v("."),a("RouterLink",{attrs:{to:"/api/interfaces/CoreChartOptions.html#parsing"}},[t._v("parsing")])],1),t._v(" "),a("h4",{attrs:{id:"defined-in-20"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#defined-in-20"}},[t._v("#")]),t._v(" Defined in")]),t._v(" "),a("p",[a("a",{attrs:{href:"https://github.com/chartjs/Chart.js/blob/7079a1c/types/index.esm.d.ts#L49",target:"_blank",rel:"noopener noreferrer"}},[t._v("index.esm.d.ts:49"),a("OutboundLink")],1)]),t._v(" "),a("hr"),t._v(" "),a("h3",{attrs:{id:"plugins"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#plugins"}},[t._v("#")]),t._v(" plugins")]),t._v(" "),a("p",[t._v("• "),a("strong",[t._v("plugins")]),t._v(": "),a("RouterLink",{attrs:{to:"/api/interfaces/PluginOptionsByType.html"}},[a("code",[t._v("PluginOptionsByType")])]),t._v("<keyof "),a("RouterLink",{attrs:{to:"/api/interfaces/ChartTypeRegistry.html"}},[a("code",[t._v("ChartTypeRegistry")])]),t._v(">")],1),t._v(" "),a("h4",{attrs:{id:"inherited-from-21"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#inherited-from-21"}},[t._v("#")]),t._v(" Inherited from")]),t._v(" "),a("p",[a("RouterLink",{attrs:{to:"/api/interfaces/PluginChartOptions.html"}},[t._v("PluginChartOptions")]),t._v("."),a("RouterLink",{attrs:{to:"/api/interfaces/PluginChartOptions.html#plugins"}},[t._v("plugins")])],1),t._v(" "),a("h4",{attrs:{id:"defined-in-21"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#defined-in-21"}},[t._v("#")]),t._v(" Defined in")]),t._v(" "),a("p",[a("a",{attrs:{href:"https://github.com/chartjs/Chart.js/blob/7079a1c/types/index.esm.d.ts#L2845",target:"_blank",rel:"noopener noreferrer"}},[t._v("index.esm.d.ts:2845"),a("OutboundLink")],1)]),t._v(" "),a("hr"),t._v(" "),a("h3",{attrs:{id:"resizedelay"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#resizedelay"}},[t._v("#")]),t._v(" resizeDelay")]),t._v(" "),a("p",[t._v("• "),a("strong",[t._v("resizeDelay")]),t._v(": "),a("code",[t._v("number")])]),t._v(" "),a("p",[t._v("Delay the resize update by give amount of milliseconds. This can ease the resize process by debouncing update of the elements.")]),t._v(" "),a("p",[a("strong",[a("code",[t._v("default")])]),t._v(" 0")]),t._v(" "),a("h4",{attrs:{id:"inherited-from-22"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#inherited-from-22"}},[t._v("#")]),t._v(" Inherited from")]),t._v(" "),a("p",[a("RouterLink",{attrs:{to:"/api/interfaces/CoreChartOptions.html"}},[t._v("CoreChartOptions")]),t._v("."),a("RouterLink",{attrs:{to:"/api/interfaces/CoreChartOptions.html#resizedelay"}},[t._v("resizeDelay")])],1),t._v(" "),a("h4",{attrs:{id:"defined-in-22"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#defined-in-22"}},[t._v("#")]),t._v(" Defined in")]),t._v(" "),a("p",[a("a",{attrs:{href:"https://github.com/chartjs/Chart.js/blob/7079a1c/types/index.esm.d.ts#L1499",target:"_blank",rel:"noopener noreferrer"}},[t._v("index.esm.d.ts:1499"),a("OutboundLink")],1)]),t._v(" "),a("hr"),t._v(" "),a("h3",{attrs:{id:"responsive"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#responsive"}},[t._v("#")]),t._v(" responsive")]),t._v(" "),a("p",[t._v("• "),a("strong",[t._v("responsive")]),t._v(": "),a("code",[t._v("boolean")])]),t._v(" "),a("p",[t._v("Resizes the chart canvas when its container does (important note...).")]),t._v(" "),a("p",[a("strong",[a("code",[t._v("default")])]),t._v(" true")]),t._v(" "),a("h4",{attrs:{id:"inherited-from-23"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#inherited-from-23"}},[t._v("#")]),t._v(" Inherited from")]),t._v(" "),a("p",[a("RouterLink",{attrs:{to:"/api/interfaces/CoreChartOptions.html"}},[t._v("CoreChartOptions")]),t._v("."),a("RouterLink",{attrs:{to:"/api/interfaces/CoreChartOptions.html#responsive"}},[t._v("responsive")])],1),t._v(" "),a("h4",{attrs:{id:"defined-in-23"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#defined-in-23"}},[t._v("#")]),t._v(" Defined in")]),t._v(" "),a("p",[a("a",{attrs:{href:"https://github.com/chartjs/Chart.js/blob/7079a1c/types/index.esm.d.ts#L1489",target:"_blank",rel:"noopener noreferrer"}},[t._v("index.esm.d.ts:1489"),a("OutboundLink")],1)]),t._v(" "),a("hr"),t._v(" "),a("h3",{attrs:{id:"scale"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#scale"}},[t._v("#")]),t._v(" scale")]),t._v(" "),a("p",[t._v("• "),a("strong",[t._v("scale")]),t._v(": "),a("RouterLink",{attrs:{to:"/api/#scaleoptionsbytype"}},[a("code",[t._v("ScaleOptionsByType")])]),t._v("<keyof "),a("RouterLink",{attrs:{to:"/api/interfaces/ScaleTypeRegistry.html"}},[a("code",[t._v("ScaleTypeRegistry")])]),t._v(">")],1),t._v(" "),a("h4",{attrs:{id:"defined-in-24"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#defined-in-24"}},[t._v("#")]),t._v(" Defined in")]),t._v(" "),a("p",[a("a",{attrs:{href:"https://github.com/chartjs/Chart.js/blob/7079a1c/types/index.esm.d.ts#L659",target:"_blank",rel:"noopener noreferrer"}},[t._v("index.esm.d.ts:659"),a("OutboundLink")],1)]),t._v(" "),a("hr"),t._v(" "),a("h3",{attrs:{id:"scales"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#scales"}},[t._v("#")]),t._v(" scales")]),t._v(" "),a("p",[t._v("• "),a("strong",[t._v("scales")]),t._v(": "),a("code",[t._v("Object")])]),t._v(" "),a("h4",{attrs:{id:"type-declaration-2"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#type-declaration-2"}},[t._v("#")]),t._v(" Type declaration")]),t._v(" "),a("table",[a("thead",[a("tr",[a("th",{staticStyle:{"text-align":"left"}},[t._v("Name")]),t._v(" "),a("th",{staticStyle:{"text-align":"left"}},[t._v("Type")])])]),t._v(" "),a("tbody",[a("tr",[a("td",{staticStyle:{"text-align":"left"}},[a("code",[t._v("category")])]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("{ "),a("code",[t._v("type")]),t._v(": "),a("code",[t._v('"category"')]),t._v(" } & "),a("code",[t._v("Omit")]),t._v("<"),a("RouterLink",{attrs:{to:"/api/interfaces/CartesianScaleOptions.html"}},[a("code",[t._v("CartesianScaleOptions")])]),t._v(", "),a("code",[t._v('"min"')]),t._v(" | "),a("code",[t._v('"max"')]),t._v("> & { "),a("code",[t._v("labels")]),t._v(": "),a("code",[t._v("string")]),t._v("[] | "),a("code",[t._v("string")]),t._v("[][] ; "),a("code",[t._v("max")]),t._v(": "),a("code",[t._v("string")]),t._v(" | "),a("code",[t._v("number")]),t._v(" ; "),a("code",[t._v("min")]),t._v(": "),a("code",[t._v("string")]),t._v(" | "),a("code",[t._v("number")]),t._v(" }")],1)]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"left"}},[a("code",[t._v("linear")])]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("{ "),a("code",[t._v("type")]),t._v(": "),a("code",[t._v('"linear"')]),t._v(" } & "),a("RouterLink",{attrs:{to:"/api/interfaces/CartesianScaleOptions.html"}},[a("code",[t._v("CartesianScaleOptions")])]),t._v(" & { "),a("code",[t._v("beginAtZero")]),t._v(": "),a("code",[t._v("boolean")]),t._v(" ; "),a("code",[t._v("grace?")]),t._v(": "),a("code",[t._v("string")]),t._v(" | "),a("code",[t._v("number")]),t._v(" ; "),a("code",[t._v("suggestedMax?")]),t._v(": "),a("code",[t._v("number")]),t._v(" ; "),a("code",[t._v("suggestedMin?")]),t._v(": "),a("code",[t._v("number")]),t._v(" ; "),a("code",[t._v("ticks")]),t._v(": { "),a("code",[t._v("count")]),t._v(": "),a("code",[t._v("number")]),t._v(" ; "),a("code",[t._v("format")]),t._v(": "),a("code",[t._v("NumberFormatOptions")]),t._v(" ; "),a("code",[t._v("precision")]),t._v(": "),a("code",[t._v("number")]),t._v(" ; "),a("code",[t._v("stepSize")]),t._v(": "),a("code",[t._v("number")]),t._v(" } }")],1)]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"left"}},[a("code",[t._v("logarithmic")])]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("{ "),a("code",[t._v("type")]),t._v(": "),a("code",[t._v('"logarithmic"')]),t._v(" } & "),a("RouterLink",{attrs:{to:"/api/interfaces/CartesianScaleOptions.html"}},[a("code",[t._v("CartesianScaleOptions")])]),t._v(" & { "),a("code",[t._v("suggestedMax?")]),t._v(": "),a("code",[t._v("number")]),t._v(" ; "),a("code",[t._v("suggestedMin?")]),t._v(": "),a("code",[t._v("number")]),t._v(" ; "),a("code",[t._v("ticks")]),t._v(": { "),a("code",[t._v("format")]),t._v(": "),a("code",[t._v("NumberFormatOptions")]),t._v(" } }")],1)]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"left"}},[a("code",[t._v("radialLinear")])]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("{ "),a("code",[t._v("type")]),t._v(": "),a("code",[t._v('"radialLinear"')]),t._v(" } & "),a("RouterLink",{attrs:{to:"/api/interfaces/CoreScaleOptions.html"}},[a("code",[t._v("CoreScaleOptions")])]),t._v(" & { "),a("code",[t._v("angleLines")]),t._v(": { "),a("code",[t._v("borderDash")]),t._v(": "),a("RouterLink",{attrs:{to:"/api/#scriptable"}},[a("code",[t._v("Scriptable")])]),t._v("<"),a("code",[t._v("number")]),t._v("[], "),a("RouterLink",{attrs:{to:"/api/interfaces/ScriptableScaleContext.html"}},[a("code",[t._v("ScriptableScaleContext")])]),t._v("> ; "),a("code",[t._v("borderDashOffset")]),t._v(": "),a("RouterLink",{attrs:{to:"/api/#scriptable"}},[a("code",[t._v("Scriptable")])]),t._v("<"),a("code",[t._v("number")]),t._v(", "),a("RouterLink",{attrs:{to:"/api/interfaces/ScriptableScaleContext.html"}},[a("code",[t._v("ScriptableScaleContext")])]),t._v("> ; "),a("code",[t._v("color")]),t._v(": "),a("RouterLink",{attrs:{to:"/api/#scriptable"}},[a("code",[t._v("Scriptable")])]),t._v("<"),a("RouterLink",{attrs:{to:"/api/#color"}},[a("code",[t._v("Color")])]),t._v(", "),a("RouterLink",{attrs:{to:"/api/interfaces/ScriptableScaleContext.html"}},[a("code",[t._v("ScriptableScaleContext")])]),t._v("> ; "),a("code",[t._v("display")]),t._v(": "),a("code",[t._v("boolean")]),t._v(" ; "),a("code",[t._v("lineWidth")]),t._v(": "),a("RouterLink",{attrs:{to:"/api/#scriptable"}},[a("code",[t._v("Scriptable")])]),t._v("<"),a("code",[t._v("number")]),t._v(", "),a("RouterLink",{attrs:{to:"/api/interfaces/ScriptableScaleContext.html"}},[a("code",[t._v("ScriptableScaleContext")])]),t._v("> } ; "),a("code",[t._v("animate")]),t._v(": "),a("code",[t._v("boolean")]),t._v(" ; "),a("code",[t._v("beginAtZero")]),t._v(": "),a("code",[t._v("boolean")]),t._v(" ; "),a("code",[t._v("grid")]),t._v(": "),a("RouterLink",{attrs:{to:"/api/interfaces/GridLineOptions.html"}},[a("code",[t._v("GridLineOptions")])]),t._v(" ; "),a("code",[t._v("max")]),t._v(": "),a("code",[t._v("number")]),t._v(" ; "),a("code",[t._v("min")]),t._v(": "),a("code",[t._v("number")]),t._v(" ; "),a("code",[t._v("pointLabels")]),t._v(": { "),a("code",[t._v("backdropColor")]),t._v(": "),a("RouterLink",{attrs:{to:"/api/#scriptable"}},[a("code",[t._v("Scriptable")])]),t._v("<"),a("RouterLink",{attrs:{to:"/api/#color"}},[a("code",[t._v("Color")])]),t._v(", "),a("RouterLink",{attrs:{to:"/api/interfaces/ScriptableScalePointLabelContext.html"}},[a("code",[t._v("ScriptableScalePointLabelContext")])]),t._v("> ; "),a("code",[t._v("backdropPadding")]),t._v(": "),a("RouterLink",{attrs:{to:"/api/#scriptable"}},[a("code",[t._v("Scriptable")])]),t._v("<"),a("code",[t._v("number")]),t._v(" | "),a("RouterLink",{attrs:{to:"/api/interfaces/ChartArea.html"}},[a("code",[t._v("ChartArea")])]),t._v(", "),a("RouterLink",{attrs:{to:"/api/interfaces/ScriptableScalePointLabelContext.html"}},[a("code",[t._v("ScriptableScalePointLabelContext")])]),t._v("> ; "),a("code",[t._v("borderRadius")]),t._v(": "),a("RouterLink",{attrs:{to:"/api/#scriptable"}},[a("code",[t._v("Scriptable")])]),t._v("<"),a("code",[t._v("number")]),t._v(" | "),a("RouterLink",{attrs:{to:"/api/interfaces/BorderRadius.html"}},[a("code",[t._v("BorderRadius")])]),t._v(", "),a("RouterLink",{attrs:{to:"/api/interfaces/ScriptableScalePointLabelContext.html"}},[a("code",[t._v("ScriptableScalePointLabelContext")])]),t._v("> ; "),a("code",[t._v("centerPointLabels")]),t._v(": "),a("code",[t._v("boolean")]),t._v(" ; "),a("code",[t._v("color")]),t._v(": "),a("RouterLink",{attrs:{to:"/api/#scriptable"}},[a("code",[t._v("Scriptable")])]),t._v("<"),a("RouterLink",{attrs:{to:"/api/#color"}},[a("code",[t._v("Color")])]),t._v(", "),a("RouterLink",{attrs:{to:"/api/interfaces/ScriptableScalePointLabelContext.html"}},[a("code",[t._v("ScriptableScalePointLabelContext")])]),t._v("> ; "),a("code",[t._v("display")]),t._v(": "),a("code",[t._v("boolean")]),t._v(" ; "),a("code",[t._v("font")]),t._v(": "),a("RouterLink",{attrs:{to:"/api/#scriptableandscriptableoptions"}},[a("code",[t._v("ScriptableAndScriptableOptions")])]),t._v("<"),a("code",[t._v("Partial")]),t._v("<"),a("RouterLink",{attrs:{to:"/api/interfaces/FontSpec.html"}},[a("code",[t._v("FontSpec")])]),t._v(">, "),a("RouterLink",{attrs:{to:"/api/interfaces/ScriptableScalePointLabelContext.html"}},[a("code",[t._v("ScriptableScalePointLabelContext")])]),t._v("> ; "),a("code",[t._v("padding")]),t._v(": "),a("RouterLink",{attrs:{to:"/api/#scriptable"}},[a("code",[t._v("Scriptable")])]),t._v("<"),a("code",[t._v("number")]),t._v(", "),a("RouterLink",{attrs:{to:"/api/interfaces/ScriptableScalePointLabelContext.html"}},[a("code",[t._v("ScriptableScalePointLabelContext")])]),t._v("> ; "),a("code",[t._v("callback")]),t._v(": ("),a("code",[t._v("label")]),t._v(": "),a("code",[t._v("string")]),t._v(", "),a("code",[t._v("index")]),t._v(": "),a("code",[t._v("number")]),t._v(") => "),a("code",[t._v("string")]),t._v(" | "),a("code",[t._v("number")]),t._v(" | "),a("code",[t._v("string")]),t._v("[] | "),a("code",[t._v("number")]),t._v("[] } ; "),a("code",[t._v("startAngle")]),t._v(": "),a("code",[t._v("number")]),t._v(" ; "),a("code",[t._v("suggestedMax")]),t._v(": "),a("code",[t._v("number")]),t._v(" ; "),a("code",[t._v("suggestedMin")]),t._v(": "),a("code",[t._v("number")]),t._v(" ; "),a("code",[t._v("ticks")]),t._v(": "),a("RouterLink",{attrs:{to:"/api/#radialtickoptions"}},[a("code",[t._v("RadialTickOptions")])]),t._v(" }")],1)]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"left"}},[a("code",[t._v("time")])]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("{ "),a("code",[t._v("type")]),t._v(": "),a("code",[t._v('"time"')]),t._v(" } & "),a("code",[t._v("Omit")]),t._v("<"),a("RouterLink",{attrs:{to:"/api/interfaces/CartesianScaleOptions.html"}},[a("code",[t._v("CartesianScaleOptions")])]),t._v(", "),a("code",[t._v('"min"')]),t._v(" | "),a("code",[t._v('"max"')]),t._v("> & { "),a("code",[t._v("adapters")]),t._v(": { "),a("code",[t._v("date")]),t._v(": "),a("code",[t._v("unknown")]),t._v(" } ; "),a("code",[t._v("bounds")]),t._v(": "),a("code",[t._v('"data"')]),t._v(" | "),a("code",[t._v('"ticks"')]),t._v(" ; "),a("code",[t._v("max")]),t._v(": "),a("code",[t._v("string")]),t._v(" | "),a("code",[t._v("number")]),t._v(" ; "),a("code",[t._v("min")]),t._v(": "),a("code",[t._v("string")]),t._v(" | "),a("code",[t._v("number")]),t._v(" ; "),a("code",[t._v("offsetAfterAutoskip")]),t._v(": "),a("code",[t._v("boolean")]),t._v(" ; "),a("code",[t._v("suggestedMax")]),t._v(": "),a("code",[t._v("string")]),t._v(" | "),a("code",[t._v("number")]),t._v(" ; "),a("code",[t._v("suggestedMin")]),t._v(": "),a("code",[t._v("string")]),t._v(" | "),a("code",[t._v("number")]),t._v(" ; "),a("code",[t._v("ticks")]),t._v(": { "),a("code",[t._v("source")]),t._v(": "),a("code",[t._v('"auto"')]),t._v(" | "),a("code",[t._v('"data"')]),t._v(" | "),a("code",[t._v('"labels"')]),t._v(" } ; "),a("code",[t._v("time")]),t._v(": { "),a("code",[t._v("displayFormats")]),t._v(": { [key: string]: "),a("code",[t._v("string")]),t._v("; } ; "),a("code",[t._v("isoWeekday")]),t._v(": "),a("code",[t._v("number")]),t._v(" | "),a("code",[t._v("boolean")]),t._v(" ; "),a("code",[t._v("minUnit")]),t._v(": "),a("RouterLink",{attrs:{to:"/api/#timeunit"}},[a("code",[t._v("TimeUnit")])]),t._v(" ; "),a("code",[t._v("parser")]),t._v(": "),a("code",[t._v("string")]),t._v(" | ("),a("code",[t._v("v")]),t._v(": "),a("code",[t._v("unknown")]),t._v(") => "),a("code",[t._v("number")]),t._v(" ; "),a("code",[t._v("round")]),t._v(": "),a("code",[t._v("false")]),t._v(" | "),a("RouterLink",{attrs:{to:"/api/#timeunit"}},[a("code",[t._v("TimeUnit")])]),t._v(" ; "),a("code",[t._v("stepSize")]),t._v(": "),a("code",[t._v("number")]),t._v(" ; "),a("code",[t._v("tooltipFormat")]),t._v(": "),a("code",[t._v("string")]),t._v(" ; "),a("code",[t._v("unit")]),t._v(": "),a("code",[t._v("false")]),t._v(" | "),a("RouterLink",{attrs:{to:"/api/#timeunit"}},[a("code",[t._v("TimeUnit")])]),t._v(" } }")],1)]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"left"}},[a("code",[t._v("timeseries")])]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("{ "),a("code",[t._v("type")]),t._v(": "),a("code",[t._v('"timeseries"')]),t._v(" } & "),a("code",[t._v("Omit")]),t._v("<"),a("RouterLink",{attrs:{to:"/api/interfaces/CartesianScaleOptions.html"}},[a("code",[t._v("CartesianScaleOptions")])]),t._v(", "),a("code",[t._v('"min"')]),t._v(" | "),a("code",[t._v('"max"')]),t._v("> & { "),a("code",[t._v("adapters")]),t._v(": { "),a("code",[t._v("date")]),t._v(": "),a("code",[t._v("unknown")]),t._v(" } ; "),a("code",[t._v("bounds")]),t._v(": "),a("code",[t._v('"data"')]),t._v(" | "),a("code",[t._v('"ticks"')]),t._v(" ; "),a("code",[t._v("max")]),t._v(": "),a("code",[t._v("string")]),t._v(" | "),a("code",[t._v("number")]),t._v(" ; "),a("code",[t._v("min")]),t._v(": "),a("code",[t._v("string")]),t._v(" | "),a("code",[t._v("number")]),t._v(" ; "),a("code",[t._v("offsetAfterAutoskip")]),t._v(": "),a("code",[t._v("boolean")]),t._v(" ; "),a("code",[t._v("suggestedMax")]),t._v(": "),a("code",[t._v("string")]),t._v(" | "),a("code",[t._v("number")]),t._v(" ; "),a("code",[t._v("suggestedMin")]),t._v(": "),a("code",[t._v("string")]),t._v(" | "),a("code",[t._v("number")]),t._v(" ; "),a("code",[t._v("ticks")]),t._v(": { "),a("code",[t._v("source")]),t._v(": "),a("code",[t._v('"auto"')]),t._v(" | "),a("code",[t._v('"data"')]),t._v(" | "),a("code",[t._v('"labels"')]),t._v(" } ; "),a("code",[t._v("time")]),t._v(": { "),a("code",[t._v("displayFormats")]),t._v(": { [key: string]: "),a("code",[t._v("string")]),t._v("; } ; "),a("code",[t._v("isoWeekday")]),t._v(": "),a("code",[t._v("number")]),t._v(" | "),a("code",[t._v("boolean")]),t._v(" ; "),a("code",[t._v("minUnit")]),t._v(": "),a("RouterLink",{attrs:{to:"/api/#timeunit"}},[a("code",[t._v("TimeUnit")])]),t._v(" ; "),a("code",[t._v("parser")]),t._v(": "),a("code",[t._v("string")]),t._v(" | ("),a("code",[t._v("v")]),t._v(": "),a("code",[t._v("unknown")]),t._v(") => "),a("code",[t._v("number")]),t._v(" ; "),a("code",[t._v("round")]),t._v(": "),a("code",[t._v("false")]),t._v(" | "),a("RouterLink",{attrs:{to:"/api/#timeunit"}},[a("code",[t._v("TimeUnit")])]),t._v(" ; "),a("code",[t._v("stepSize")]),t._v(": "),a("code",[t._v("number")]),t._v(" ; "),a("code",[t._v("tooltipFormat")]),t._v(": "),a("code",[t._v("string")]),t._v(" ; "),a("code",[t._v("unit")]),t._v(": "),a("code",[t._v("false")]),t._v(" | "),a("RouterLink",{attrs:{to:"/api/#timeunit"}},[a("code",[t._v("TimeUnit")])]),t._v(" } }")],1)])])]),t._v(" "),a("h4",{attrs:{id:"defined-in-25"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#defined-in-25"}},[t._v("#")]),t._v(" Defined in")]),t._v(" "),a("p",[a("a",{attrs:{href:"https://github.com/chartjs/Chart.js/blob/7079a1c/types/index.esm.d.ts#L660",target:"_blank",rel:"noopener noreferrer"}},[t._v("index.esm.d.ts:660"),a("OutboundLink")],1)]),t._v(" "),a("hr"),t._v(" "),a("h3",{attrs:{id:"transitions"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#transitions"}},[t._v("#")]),t._v(" transitions")]),t._v(" "),a("p",[t._v("• "),a("strong",[t._v("transitions")]),t._v(": "),a("RouterLink",{attrs:{to:"/api/#transitionsspec"}},[a("code",[t._v("TransitionsSpec")])]),t._v("<keyof "),a("RouterLink",{attrs:{to:"/api/interfaces/ChartTypeRegistry.html"}},[a("code",[t._v("ChartTypeRegistry")])]),t._v(">")],1),t._v(" "),a("h4",{attrs:{id:"inherited-from-24"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#inherited-from-24"}},[t._v("#")]),t._v(" Inherited from")]),t._v(" "),a("p",[a("RouterLink",{attrs:{to:"/api/interfaces/CoreChartOptions.html"}},[t._v("CoreChartOptions")]),t._v("."),a("RouterLink",{attrs:{to:"/api/interfaces/CoreChartOptions.html#transitions"}},[t._v("transitions")])],1),t._v(" "),a("h4",{attrs:{id:"defined-in-26"}},[a("a",{staticClass:"he