Closed poradz closed 4 years ago
DatasetController should have _getIndexScale() function.
Chart.js 2.9.3 does have a _getIndexScale()
method. If you're trying to use the code in master
the please be aware that we are working Chart.js 3.0, which breaks backwards compatibility, but provides numerous improvements including being massively faster. In that case you will have to use meta.iScale
.
You are right, the _getIndexScale() method exists. Thank you for your suggestion, we will definitely be eager to support 3.0.
At this moment I fixed this by adding xAxes to plugin, previously yAxes was enough. I am quite new in chart.js so I am not sure if it is the right way.
Cool. Glad it's working!
You might consider submitting your plugin to https://github.com/chartjs/awesome
Expected Behavior
Plugin funnel should work as previously.
Current Behavior
Possible Solution
DatasetController should have _getIndexScale() function.
Steps to Reproduce (for bugs)
https://gitdeveloper.yetiforce.com/index.php
Context
Environment