Skip to content
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

Update to chart.js 2.6? #9

Open
Yobmod opened this issue Aug 1, 2017 · 3 comments
Open

Update to chart.js 2.6? #9

Yobmod opened this issue Aug 1, 2017 · 3 comments

Comments

@Yobmod
Copy link

Yobmod commented Aug 1, 2017

I've just tried out the example graph, and it works with chart.js 2.5, but not with 2.6 (no other changes).

Initial console error:

Chart.BarFunnel.js:88 Uncaught TypeError: this.calculateBarX is not a function
at n.updateElement (Chart.BarFunnel.js:88)

@jipiboily
Copy link

jipiboily commented Jan 21, 2019

I just experienced the same thing trying to get this project up & running for a PoC.

It seems to be related to chartjs/Chart.js#4044. Will dig a bit.

Edit: I decided to go another path, but the PR above seems to be where it broke as the internals used by this plugin totally changed. That's the risk of using internal stuff for a plugin I guess.

@leonardoad
Copy link

Does anyone know how to fix it?
Are there any plans to update the plugin?

I'm trying to use this and another plugin, but the other one requires the latest version of Chart.js so I can't use both at the same time...

@ElManouche
Copy link

ElManouche commented Sep 7, 2021

As said in the commit, this was a huge change in the refactoring of version 2.6.0 of ChartJS.
The-Actual-Damien/https-github.com-chartjs-Chart.js@50a80da
I think this plugin will definitely never work anymore.

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

No branches or pull requests

4 participants