BarFunnel chart won't render for ChartJS versions > 2.2.0
Tafkas opened this issue · 3 comments
Tafkas commented
ChartJS 2.2.2 is the last version to work with the BarFunnel chart.
Tafkas commented
I just double checked. It works with ChartJS version 2.3.0 but the current release (2.4.0) does not.
etimberg commented
@jorgecgll can you take a look at this?
etimberg commented
I got it working here: http://jsbin.com/meqaloq/edit?html,js,output
The issue is that the internal getBarWidth
and calculateBarX
methods changed. Rather than individually calculate the ruler internally, they are now passed it. This change was made for performance reasons. I added comments where the changes were made.