-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v2.3.0 with chart.js 4.4.1 renders unwanted context.raw object #218
Comments
Have you solved it? |
I found the item causing this problem. "chartjs-plugin-datalabels" drawTextLine.fillText is draw that text chartjs-plugin-datalabels if(no label) data object roop and draw all |
Sorry, not clear... |
As a temporary solution you need to control the label formatter
|
"chart.js": "^4.4.1",
"chartjs-chart-treemap": "^2.3.0",
"next": "14.0.4",
"react": "^18",
"react-chartjs-2": "^5.2.0",
'treemap'
chart rendersunwanted coordinate captionsthe entire'context.raw'
object, as visible from the attached image.no reference in the docs about it.
is this a bug or is it something that can be configured?
i forked michaeloliverx Treemap Chart Example Stackblitz project into this new StackBlitz project with v2.3.0 package. But it does not seem to be replicable.
I'm not the only one with this problem though: Stack Overflow - Chart.js Treemap plugin showing coordinate data in chart image rendered
The text was updated successfully, but these errors were encountered: