Skip to content

Error when upgrading from Chart.js 3.0 to 4.4 #150

@biren34

Description

@biren34

First, thank you for this great candlestick plot.

I downloaded the example and was able to get it running with my data. I then tried to upgrade to chart.js 4.4 by changing the include in index.html from <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/chart.js"></script> to <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/chart.umd.min.js"></script>.

I now get an "Uncaught TypeError: String.prototype.toString requires that 'this' be a String" error, with a pretty unhelpful call stack:
image

Any help would be appreciated!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions