You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError
String.prototype.toString requires that 'this' be a String
isPatternOrGradient
https://ejif5i.csb.app/node_modules/chart.js/dist/chunks/helpers.segment.js:1851:24
color
https://ejif5i.csb.app/node_modules/chart.js/dist/chunks/helpers.segment.js:1857:10
Animation.color [as _fn]
https://ejif5i.csb.app/node_modules/chart.js/dist/chart.esm.js:472:39
Animation.tick
https://ejif5i.csb.app/node_modules/chart.js/dist/chart.esm.js:542:31
eval
https://ejif5i.csb.app/node_modules/chart.js/dist/chart.esm.js:376:16
Animator._update
https://ejif5i.csb.app/node_modules/chart.js/dist/chart.esm.js:362:18
eval
https://ejif5i.csb.app/node_modules/chart.js/dist/chart.esm.js:353:12
This screen is visible only in development. It will not appear if the app crashes in production.
Open your browser’s developer console to further inspect this error.
This error overlay is powered by `react-error-overlay` used in `create-react-app`.
Looks like isPatternOrGradient helper function has been changed in v3.8.0 as the example works just fine with v3.7.1.
Error is thrown when a Proxy object is passed to isPatternOrGradient so updating isPatternOrGradient to handle this use case should solve the issue.
Context
No response
chart.js version
v3.9.1
Browser name and version
No response
Link to your project
No response
The text was updated successfully, but these errors were encountered:
Expected behavior
chartjs-chart-financial example should work with the latest Chart.js version.
Current behavior
The following error message is displayed:
Reproducible sample
https://codesandbox.io/s/elegant-cache-ejif5i?file=/src/index.js
Optional extra steps/info to reproduce
No response
Possible solution
Looks like
isPatternOrGradient
helper function has been changed in v3.8.0 as the example works just fine with v3.7.1.Error is thrown when a Proxy object is passed to
isPatternOrGradient
so updatingisPatternOrGradient
to handle this use case should solve the issue.Context
No response
chart.js version
v3.9.1
Browser name and version
No response
Link to your project
No response
The text was updated successfully, but these errors were encountered: