Skip to content

Conversation

@haidarzhy
Copy link

So it works with the latest version of Chart.js https://www.chartjs.org/docs/latest/getting-started/v3-migration.html#tooltip
tooltips.custom was renamed to plugins.tooltip.external

I was thinking about leaving both keys working for compatibility but everyone will still need to change external tooltip functions because it now has different content of the property

So it works with latest version of Chart.js
if(this.chartTooltips !== undefined){
this.options.plugins.tooltip = this.chartTooltips;
const tooltiplist = ["custom", "itemSort", "filter"];
const tooltiplist = ["external", "itemSort", "filter"];
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it only applicable for stackedChart? I think it is also applicable to another chart? cmiiw.

If yes, can you help to update another from custom to another?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants