Ionic and Canvas.js bug

Hi all,

So, I was using doughnut chart in my Ionic app, and I wanted to disable expanding on click, so I found in docs that explodeOnClick:false handles that.

I ran through theirs examples, I see its all working fine, however, with Ionic, the false just doesn’t work – the parts just keep exploding on click every time.

So, this code is working here

But with Ionic - it isn’t…

Any idea whats this about?

This is how Im rendering chart i ang/ionic


The problem was I was using npm canvas JS package cause I wanted es import

I switched to the way this example was done

All working now


Perfect. I solved my ionic 3 project issue.