chart.js breaking changes
Updated December 4, 2026
On this page
Latest version 4.6.2, released November 23, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
- From 3.9.0 to 4.6.1: 878 breaking changes in 20 versions.
- From 3.0.0 to 4.6.1: 1,138 breaking changes in 36 versions.
chart.js 4.6.1 breaking changes
- Signature changed
ArcElement.defaults
Was static defaults: {borderAlign: string; borderColor: string; borderDash: any[]; borderDashOffset: number; borderJoinStyle: any; borderRadius: number; borderWidth: number; offset: number; spacing: number; angle: any; circular: boolean... npmjs.com - Signature changed
CartesianScaleOptions.title
Was title: {display: boolean; align: Align; text: string | string[]; color: Color; font: ScriptableAndScriptableOptions<Partial<FontSpec>, ScriptableCartesianScaleContext>; padding: number | {top: number; bottom: number; y: number;};}; now... npmjs.com - Signature changed
CategoryScaleOptions.title
Was title: {display: boolean; align: Align; text: string | string[]; color: Color; font: ScriptableAndScriptableOptions<Partial<FontSpec>, ScriptableCartesianScaleContext>; padding: number | {top: number; bottom: number; y: number;};}; now... npmjs.com - Signature changed
GridLineOptions.tickWidth
Was tickWidth: number; now tickWidth: ScriptableAndArray<number, ScriptableScaleContext>. npmjs.com - Signature changed
LinearScaleOptions.title
Was title: {display: boolean; align: Align; text: string | string[]; color: Color; font: ScriptableAndScriptableOptions<Partial<FontSpec>, ScriptableCartesianScaleContext>; padding: number | {top: number; bottom: number; y: number;};}; now... npmjs.com - Signature changed
LogarithmicScaleOptions.title
Was title: {display: boolean; align: Align; text: string | string[]; color: Color; font: ScriptableAndScriptableOptions<Partial<FontSpec>, ScriptableCartesianScaleContext>; padding: number | {top: number; bottom: number; y: number;};}; now... npmjs.com - Signature changed
TimeScaleOptions.title
Was title: {display: boolean; align: Align; text: string | string[]; color: Color; font: ScriptableAndScriptableOptions<Partial<FontSpec>, ScriptableCartesianScaleContext>; padding: number | {top: number; bottom: number; y: number;};}; now... npmjs.com
chart.js 4.5.1 breaking changes
- Signature changed
ChartDataset
Was type ChartDataset<TType extends ChartType = ChartType, TData = DefaultDataPoint<TType>> = DeepPartial<{[key in ChartType]: {type: key} & ChartTypeRegistry[key]['datasetOptions']}[TType]> & ChartDatasetProperties<TType, TData>; now type... npmjs.com - Signature changed
ChartDatasetCustomTypesPerDataset
Was type ChartDatasetCustomTypesPerDataset<TType extends ChartType = ChartType, TData = DefaultDataPoint<TType>> = DeepPartial<{[key in ChartType]: {type: key} & ChartTypeRegistry[key]['datasetOptions']}[TType]> &... npmjs.com - Signature changed
Point.x
Was x: number; now x: number | null. npmjs.com - Signature changed
Point.y
Was y: number; now y: number | null. npmjs.com - Signature changed
TooltipCallbacks
Was interface TooltipCallbacks<TType extends ChartType, Model = TooltipModel<TType>, Item = TooltipItem<TType>>; now interface TooltipCallbacks<TType extends ChartType, Model = TooltipModel<TType>, Item = TooltipItem<TType>> extends... npmjs.com
chart.js 4.5.0 breaking changes
- Renamed
dist.chart.min.js
The minified UMD build now has a different file name. Update any direct file references or script tags that point to the old path. chartjs.org - Signature changed
ArcElement.defaults
Was static defaults: {borderAlign: string; borderColor: string; borderDash: any[]; borderDashOffset: number; borderJoinStyle: any; borderRadius: number; borderWidth: number; offset: number; spacing: number; angle: any; circular: boolean;}... npmjs.com - Signature changed
Plugin.beforeEvent
Was beforeEvent?(chart: Chart<TType>, args: {event: ChartEvent, replay: boolean, cancelable: true, inChartArea: boolean}, options: O): boolean | void; now beforeEvent?(chart: Chart<TType>, args: {event: ChartEvent, replay: boolean... npmjs.com - Signature changed
Ticks
Was const Ticks: {formatters: {values(value: unknown): string | string[]; numeric(tickValue: number, index: number, ticks: {value: number}[]): string; logarithmic(tickValue: number, index: number, ticks: {value: number}[]): string;};}; now... npmjs.com
chart.js 4.4.8 breaking changes
- Signature changed
_adapters
Was const _default: {_date: typeof DateAdapterBase;}; now const _default: {_date: {new (options?: AnyObject): DateAdapter; override<T extends AnyObject = AnyObject>(members: Partial<Omit<DateAdapter<T>, "options">>): void;};}. npmjs.com - Signature changed
DateAdapter.endOf
Was endOf(this: DateAdapter<T>, timestamp: number, unit: TimeUnit | 'isoWeek'): number; now endOf(this: DateAdapter<T>, timestamp: number, unit: TimeUnit): number. npmjs.com - Signature changed
DateAdapter.format
Was format(this: DateAdapter<T>, timestamp: number, format: TimeUnit): string; now format(this: DateAdapter<T>, timestamp: number, format: string): string. npmjs.com - Signature changed
DateAdapter.formats
Was formats(this: DateAdapter<T>): Record<string, string>; now formats(this: DateAdapter<T>): Record<TimeUnit | 'datetime', string>. npmjs.com - Signature changed
DateAdapter.parse
Was parse(this: DateAdapter<T>, value: unknown, format?: TimeUnit): number | null; now parse(this: DateAdapter<T>, value: unknown, format?: string): number | null. npmjs.com - Signature changed
DateAdapter.startOf
Was startOf(this: DateAdapter<T>, timestamp: number, unit: TimeUnit | 'isoWeek', weekday?: number): number; now startOf(this: DateAdapter<T>, timestamp: number, unit: TimeUnit | 'isoWeek', weekday?: number | boolean): number. npmjs.com - Signature changed
helpers:getRelativePosition
Was function getRelativePosition(event: Event | ChartEvent | TouchEvent | MouseEvent, chart: Chart): {x: number; y: number;}; now function getRelativePosition(event: Event | ChartEvent | TouchEvent | MouseEvent, chart: Chart |... npmjs.com - Signature changed
helpers:retinaScale
Was function retinaScale(chart: Chart, forceRatio: number, forceStyle?: boolean): boolean | void; now function retinaScale(chart: Chart | PrivateChart, forceRatio: number, forceStyle?: boolean): boolean | void. npmjs.com
chart.js 4.4.7 breaking changes
- Signature changed
DoughnutAnimationOptions
Was interface DoughnutAnimationOptions; now interface DoughnutAnimationOptions extends AnimationSpec<'doughnut'>. npmjs.com
chart.js 4.4.5 breaking changes
- Signature changed
CoreChartOptions.backgroundColor
Was backgroundColor: Scriptable<Color, ScriptableContext<TType>>; now backgroundColor: ScriptableAndArray<Color, ScriptableContext<TType>>. npmjs.com - Signature changed
CoreChartOptions.borderColor
Was borderColor: Scriptable<Color, ScriptableContext<TType>>; now borderColor: ScriptableAndArray<Color, ScriptableContext<TType>>. npmjs.com
Older versions
42 older versions, each with its first changes. Sign up to see every change
Show 42 older versions
chart.js 4.4.4 breaking changes
- Removed
The legend type definitions no longer include box padding. Code that sets or reads box padding through these types may fail to compile and should drop it. github.com - Removed
LegendOptions.labels.boxPadding
LegendOptions.labels.boxPadding was removed in chart.js 4.4.4 npmjs.com
And 4 more in this version.
chart.js 4.4.3 breaking changes
- Signature changed
helpers:clearCanvas
Was function clearCanvas(canvas: HTMLCanvasElement, ctx?: CanvasRenderingContext2D): void; now function clearCanvas(canvas?: HTMLCanvasElement, ctx?: CanvasRenderingContext2D): void. npmjs.com
chart.js 4.4.2 breaking changes
- Signature changed
BubbleDataPoint.r
Was r: number; now r?: number. npmjs.com
chart.js 4.4.1 breaking changes
- Signature changed
auto:default.update
Was update(mode?: UpdateMode): void; now update(mode?: UpdateMode | ((ctx: {datasetIndex: number}) => UpdateMode)): void. npmjs.com - Signature changed
Chart.update
Was update(mode?: UpdateMode): void; now update(mode?: UpdateMode | ((ctx: {datasetIndex: number}) => UpdateMode)): void. npmjs.com
And 35 more in this version.
chart.js 4.4.0 breaking changes
- Signature changed
RadialLinearScaleOptions
Was type RadialLinearScaleOptions = CoreScaleOptions & {backgroundColor: Color; animate: boolean; startAngle: number; angleLines: {display: boolean; color: Scriptable<Color, ScriptableScaleContext>; lineWidth: Scriptable<number... npmjs.com
chart.js 4.3.3 breaking changes
- Behavior changed
The monotone cubic interpolation fix from earlier releases is reverted, so monotone line curves may render differently again. Check charts that use monotone interpolation. github.com
chart.js 4.3.2 breaking changes
- Signature changed
LinearScaleOptions.suggestedMax
Was suggestedMax?: number; now suggestedMax: unknown. npmjs.com - Signature changed
LinearScaleOptions.suggestedMin
Was suggestedMin?: number; now suggestedMin: unknown. npmjs.com
And 14 more in this version.
chart.js 4.3.1 breaking changes
- Removed
TimeScaleOptions.time.displayFormats
TimeScaleOptions.time.displayFormats was removed in chart.js 4.3.1 npmjs.com - Removed
TimeScaleOptions.time.isoWeekday
TimeScaleOptions.time.isoWeekday was removed in chart.js 4.3.1 npmjs.com
And 18 more in this version.
chart.js 4.3.0 breaking changes
- Removed
helpers:canvas
canvas was removed in chart.js 4.3.0 npmjs.com - Removed
helpers:CanvasFontSpec
CanvasFontSpec was removed in chart.js 4.3.0 npmjs.com
And 32 more in this version.
chart.js 4.2.1 breaking changes
- Removed
ChartConfigurationInstance
ChartConfigurationInstance was removed in chart.js 4.2.1 npmjs.com - Signature changed
auto:default.config
Was readonly config: ChartConfigurationInstance; now readonly config: ChartConfiguration<TType, TData, TLabel> | ChartConfigurationCustomTypesPerDataset<TType, TData, TLabel>. npmjs.com
And 13 more in this version.
chart.js 4.2.0 breaking changes
- Removed
UpdateModeEnum.normal
The 'normal' update mode is now named 'default' to match the docs. Code that passes 'normal' as an update mode should switch to 'default'. npmjs.com - Signature changed
DoughnutControllerChartOptions.offset
Was offset: number; now offset: number | number[]. npmjs.com
And 1 more in this version.
chart.js 4.1.1 breaking changes
- Signature changed
elements.BarElement
Was class BarElement extends Element<import("../../types/basic.js").AnyObject, import("../../types/basic.js").AnyObject>; now class BarElement extends Element<import("../types/basic.js").AnyObject, import("../types/basic.js").AnyObject>. npmjs.com - Signature changed
elements.LineElement
Was class LineElement extends Element<import("../../types/basic.js").AnyObject, import("../../types/basic.js").AnyObject>; now class LineElement extends Element<import("../types/basic.js").AnyObject, import("../types/basic.js").AnyObject>. npmjs.com
And 8 more in this version.
chart.js 4.1.0 breaking changes
- Removed
ArcElement.$animations
ArcElement.$animations was removed in chart.js 4.1.0 npmjs.com - Removed
ArcElement.active
ArcElement.active was removed in chart.js 4.1.0 npmjs.com
And 390 more in this version.
chart.js 4.0.1 breaking changes
- Removed
The dist/chart.js file is no longer shipped; the ESM build is now at dist/chart.js under a new name. chartjs.org - Removed
ArcElement.getRange
ArcElement.getRange was removed in chart.js 4.0.1 npmjs.com
And 312 more in this version.
chart.js 3.9.0 breaking changes
- Behavior changed
The scatter controller no longer uses a line element. Code that reads or styles a scatter dataset's line element must be updated. github.com - Behavior changed
borderSkipped
Setting borderSkipped to true now skips all borders instead of only some of them. Charts that relied on the old border drawing may look different. github.com
And 3 more in this version.
chart.js 3.8.1 breaking changes
- Signature changed
BasePlatform.updateConfig
Was updateConfig(config: ChartConfiguration): void; now updateConfig(config: ChartConfiguration | ChartConfigurationCustomTypesPerDataset): void. npmjs.com - Signature changed
Chart.config
Was readonly config: ChartConfiguration<TType, TData, TLabel>; now readonly config: ChartConfiguration<TType, TData, TLabel> | ChartConfigurationCustomTypesPerDataset<TType, TData, TLabel>. npmjs.com
And 5 more in this version.
chart.js 3.8.0 breaking changes
- Signature changed
BarControllerDatasetOptions.borderSkipped
Was borderSkipped: 'start' | 'end' | 'left' | 'right' | 'bottom' | 'top' | false; now borderSkipped: 'start' | 'end' | 'left' | 'right' | 'bottom' | 'top' | 'middle' | false. npmjs.com - Signature changed
BarOptions.borderSkipped
Was borderSkipped: 'start' | 'end' | 'left' | 'right' | 'bottom' | 'top' | false; now borderSkipped: 'start' | 'end' | 'left' | 'right' | 'bottom' | 'top' | 'middle' | false. npmjs.com
And 31 more in this version.
chart.js 3.7.1 breaking changes
- Signature changed
CartesianScaleOptions.ticks
Was ticks: TickOptions & {sampleSize: number; align: 'start' | 'center' | 'end'; autoSkip: boolean; autoSkipPadding: number; crossAlign: 'near' | 'center' | 'far'; includeBounds: boolean; labelOffset: number; minRotation: number... npmjs.com - Signature changed
CartesianScaleOptions.title
Was title: {display: boolean; align: 'start' | 'center' | 'end'; text: string | string[]; color: Color; font: FontSpec; padding: number | {top: number; bottom: number; y: number;};}; now title: {display: boolean; align: Align; text: string... npmjs.com
And 28 more in this version.
chart.js 3.7.0 breaking changes
- Signature changed
CoreInteractionOptions.axis
Was axis: 'x' | 'y' | 'xy'; now axis: 'x' | 'y' | 'xy' | 'r'. npmjs.com - Signature changed
Plugin.afterEvent
Was afterEvent?(chart: Chart, args: {event: ChartEvent, replay: boolean, changed?: boolean, cancelable: false}, options: O): void; now afterEvent?(chart: Chart, args: {event: ChartEvent, replay: boolean, changed?: boolean, cancelable... npmjs.com
And 10 more in this version.
chart.js 3.6.1 breaking changes
- Removed
AnimationEvent.currentState
The animation event type now includes currentStep instead of currentState, so code reading currentState must switch to currentStep. npmjs.com - Removed
CoreChartOptions.layout.padding
CoreChartOptions.layout.padding was removed in chart.js 3.6.1 npmjs.com
And 17 more in this version.
chart.js 3.6.0 breaking changes
- Removed
The offscreen canvas type definitions were removed in this release, so TypeScript code that imports or references them will no longer compile. github.com - Signature changed
CartesianScaleOptions.title
Was title: {display: boolean; text: string | string[]; color: Color; font: FontSpec; padding: number | {top: number; bottom: number;};}; now title: {display: boolean; align: 'start' | 'center' | 'end'; text: string | string[]; color... npmjs.com
And 16 more in this version.
chart.js 3.5.1 breaking changes
- Removed
CartesianScaleOptions.title.padding.bottom
CartesianScaleOptions.title.padding.bottom was removed in chart.js 3.5.1 npmjs.com - Removed
CartesianScaleOptions.title.padding.top
CartesianScaleOptions.title.padding.top was removed in chart.js 3.5.1 npmjs.com
And 21 more in this version.
chart.js 3.5.0 breaking changes
- Removed
ChartMeta._parsed
ChartMeta._parsed was removed in chart.js 3.5.0 npmjs.com - Removed
ChartMeta._sorted
ChartMeta._sorted was removed in chart.js 3.5.0 npmjs.com
And 64 more in this version.
chart.js 3.4.1 breaking changes
- Signature changed
CoreChartOptions.events
Was events: ('mousemove' | 'mouseout' | 'click' | 'touchstart' | 'touchmove')[]; now events: ('mousemove' | 'mouseout' | 'click' | 'touchstart' | 'touchmove' | 'touchend' | 'pointerenter' | 'pointerdown' | 'pointermove' | 'pointerup' |... npmjs.com - Signature changed
TimeScaleOptions
Was type TimeScaleOptions = CartesianScaleOptions & {bounds: 'ticks' | 'data'; adapters: {date: unknown;}; time: {parser: string | ((v: unknown) => number); round: false | TimeUnit; isoWeekday: false | number; displayFormats: {[key... npmjs.com
And 2 more in this version.
chart.js 3.4.0 breaking changes
- Removed
CategoryScaleOptions.afterCalculateTickRotation
CategoryScaleOptions.afterCalculateTickRotation was removed in chart.js 3.4.0 npmjs.com - Removed
CategoryScaleOptions.beforeCalculateTickRotation
CategoryScaleOptions.beforeCalculateTickRotation was removed in chart.js 3.4.0 npmjs.com
And 13 more in this version.
chart.js 3.3.0 breaking changes
- Signature changed
CartesianScaleOptions.ticks
Was ticks: TickOptions & {sampleSize: number; align: 'start' | 'center' | 'end'; autoSkip: boolean; autoSkipPadding: number; crossAlign: 'near' | 'center' | 'far'; labelOffset: number; minRotation: number; maxRotation: number; mirror... npmjs.com - Signature changed
CategoryScaleOptions.ticks
Was ticks: TickOptions & {sampleSize: number; align: 'start' | 'center' | 'end'; autoSkip: boolean; autoSkipPadding: number; crossAlign: 'near' | 'center' | 'far'; labelOffset: number; minRotation: number; maxRotation: number; mirror... npmjs.com
And 6 more in this version.
chart.js 3.2.1 breaking changes
- Signature changed
ChartOptions
Was type ChartOptions<TType extends ChartType = ChartType> = DeepPartial<CoreChartOptions<TType> & ElementChartOptions & PluginChartOptions<TType> & DatasetChartOptions<TType> & ScaleChartOptions<TType> &... npmjs.com - Signature changed
Defaults
Was interface Defaults extends CoreChartOptions<ChartType>, ElementChartOptions, PluginChartOptions<ChartType>; now interface Defaults extends CoreChartOptions<ChartType>, ElementChartOptions<ChartType>, PluginChartOptions<ChartType>. npmjs.com
And 8 more in this version.
chart.js 3.2.0 breaking changes
- Signature changed
RadialLinearScaleOptions
Was type RadialLinearScaleOptions = CoreScaleOptions & {animate: boolean; angleLines: {display: boolean; color: Scriptable<Color, ScriptableScaleContext>; lineWidth: Scriptable<number, ScriptableScaleContext>; borderDash... npmjs.com - Signature changed
RadialLinearScaleOptions.ticks
Was ticks: TickOptions & {backdropColor: Scriptable<Color, ScriptableScaleContext>; backdropPadding: number | ChartArea; format: Intl.NumberFormatOptions; maxTicksLimit: number; precision: number; stepSize: number; count: number... npmjs.com
chart.js 3.1.1 breaking changes
- Signature changed
Scriptable
Was type Scriptable<T, TContext> = T | ((ctx: TContext) => T); now type Scriptable<T, TContext> = T | ((ctx: TContext, options: AnyObject) => T). npmjs.com - Signature changed
TickOptions.callback
Was callback: (tickValue: number | string, index: number, ticks: Tick[]) => string; now callback: (tickValue: number | string, index: number, ticks: Tick[]) => string | number | null | undefined. npmjs.com
And 1 more in this version.
chart.js 3.1.0 breaking changes
- Behavior changed
Border options are now configured separately from grid options, so grid settings no longer style the chart border. Check any code that relied on the grid options also setting the border. github.com - Behavior changed
Scriptable options for ticks now receive the scale context rather than the chart context. Code that reads chart-level properties from the context in tick callbacks may need updating. github.com
And 3 more in this version.
chart.js 3.0.0 breaking changes
- Removed
The Chart.bundle.js and Chart.bundle.min.js builds are no longer provided; use the recommended installation setup instead. chartjs.org - Removed
AngleLineOptions
AngleLineOptions was removed in chart.js 3.0.0 npmjs.com
And 236 more in this version.
chart.js 3.0.0-rc.7 breaking changes
- Removed
ChartOptions.onHover
Removes line interaction overrides and hover.onHover in chart.js 3.0.0-rc.7 npmjs.com
chart.js 3.0.0-rc breaking changes
- Behavior changed
Updates tick positioning in chart.js 3.0.0-rc github.com
chart.js 3.0.0-beta.14 breaking changes
- Renamed
gridLines
Renames scale gridLines options in chart.js 3.0.0-beta.14 github.com - Behavior changed
Radial chart area has a minimum size in chart.js 3.0.0-beta.14 github.com
And 4 more in this version.
chart.js 3.0.0-beta.13 breaking changes
- Renamed
scaleLabel
Use title in place of scaleLabel in scale options. github.com - Behavior changed
Relocates chart type and dataset type defaults in chart.js 3.0.0-beta.13 github.com
chart.js 3.0.0-beta.12 breaking changes
- Removed
getRingIndex
Removes unused getRingIndex from Doughnut in chart.js 3.0.0-beta.12 github.com - Renamed
tooltip.custom
Use tooltip.external in place of tooltip.custom. github.com
And 4 more in this version.
chart.js 3.0.0-beta.11 breaking changes
- Renamed
dataPoint
Read parsed instead of dataPoint from the context object. github.com - Behavior changed
Canvas size is rounded to 0.1px resolution in chart.js 3.0.0-beta.11 github.com
And 2 more in this version.
chart.js 3.0.0-beta.10 breaking changes
- Renamed
LayoutItem.fullWidth
Use fullSize in place of fullWidth on layout items. github.com
chart.js 3.0.0-beta.8 breaking changes
- Behavior changed
Charts no longer reset when animations are disabled. Code that relied on the reset must change. github.com
chart.js 3.0.0-beta.2 breaking changes
- Behavior changed
Helpers are now exposed flat for both UMD and ESM builds. Update imports that used the nested layout. github.com
chart.js 3.0.0-alpha.2 breaking changes
- Removed
horizontalBar
The horizontalBar chart type is gone. Use a bar chart with indexAxis set to 'y'. github.com - Renamed
The dist file was renamed. Update any script tags or build paths that reference Chart.js. github.com
And 7 more in this version.
chart.js 3.0.0-alpha breaking changes
- Configuration changed
scales
The scales option is now an object keyed by scale ID instead of an array. Update existing chart configs to use the object form. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.