chartjs / chartjs/Chart.js

Chart.js v4 onwards, Missing Class properties transform

Open
#11,523 4 comments 0 reactions 0 assignees View on GitHub
type: bug
Dominant language
JavaScript
Stars
67.7k
Forks
11.9k
Avg merge
7h 39m
Merged PRs (30d)
5

Description

### Expected behavior

Running with React v17, react-chartjs-2 v5.2.0.
It should start up the application as used in Chart.js v3

### Current behavior

Unable to start application, error prompted **Missing class properties transform** in node_modules\chart.js\dist\chart.js, line 568 "static defaults = {};"

### Reproducible sample

-

### Optional extra steps/info to reproduce

Just npm i chart.js v4 onwards and run the application

### Possible solution

_No response_

### Context

_No response_

### chart.js version

v4.1 , v4.4

### Browser name and version

Chrome, v117

### Link to your project

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.