I am evaluating CanvasJS for my company. I have everything working and it looks like it will do what we need, but I have run across one problem.
If I use:
axisY:{
includeZero: false
}
And then click the legends to turn all of them off, I get:
TypeError: Cannot read property ‘textBlock’ of undefined
This also happens if I try to create a chart with no data.
Here is a jsfiddle that shows the error:
http://jsfiddle.net/fkuqaoub/5/
It is based on the thread here:
https://canvasjs.com/blog/10/17/chart-multiple-x-y-axis/
I am not using Angular, but still have the problem.