Type Aliases
BorderAlignment
BorderAlignment: "center" | "inner"
ChartColor
ChartColor: string | CanvasGradient | CanvasPattern | string[]
ChartType
ChartType: "line" | "bar" | "horizontalBar" | "radar" | "doughnut" | "polarArea" | "bubble" | "pie" | "scatter"
CubicInterpolationMode
CubicInterpolationMode: "default" | "monotone"
Easing
Easing: "linear" | "easeInQuad" | "easeOutQuad" | "easeInOutQuad" | "easeInCubic" | "easeOutCubic" | "easeInOutCubic" | "easeInQuart" | "easeOutQuart" | "easeInOutQuart" | "easeInQuint" | "easeOutQuint" | "easeInOutQuint" | "easeInSine" | "easeOutSine" | "easeInOutSine" | "easeInExpo" | "easeOutExpo" | "easeInOutExpo" | "easeInCirc" | "easeOutCirc" | "easeInOutCirc" | "easeInElastic" | "easeOutElastic" | "easeInOutElastic" | "easeInBack" | "easeOutBack" | "easeInOutBack" | "easeInBounce" | "easeOutBounce" | "easeInOutBounce"
FillMode
FillMode: "zero" | "top" | "bottom" | boolean
PointStyle
PointStyle: "circle" | "cross" | "crossRot" | "dash" | "line" | "rect" | "rectRounded" | "rectRot" | "star" | "triangle"
PositionType
PositionType: "left" | "right" | "top" | "bottom" | "chartArea"
ScaleType
ScaleType: "category" | "linear" | "logarithmic" | "time" | "radialLinear"
Scriptable
Type Parameters
Type declaration
Parameters
ctx: { chart?: export=; dataIndex?: number; dataset?: export=.ChartDataSets; datasetIndex?: number }
Optional chart?: export=
Optional dataIndex?: number
Optional datasetIndex?: number
Returns T
TextAlignment
TextAlignment: "left" | "center" | "right"
TimeUnit
TimeUnit: "millisecond" | "second" | "minute" | "hour" | "day" | "week" | "month" | "quarter" | "year"