amcharts / export

Apache License 2.0
56 stars 33 forks source link

amcharts balloons are prevent graph from saving and sending thru email #64

Open KimBye opened 7 years ago

KimBye commented 7 years ago

I am currently using fabric.js version 1.7.11 and have trouble save graphs when the balloons are hovering on top the graph.

This problem was not there before until recently I updated to the latest export version, and the problem happened inside drawImage().

What I understand is that the function gets called as many as it is required for each of the balloons to render, but something has happened in one of those repeated callings, instead of normal width and height , this.cacheWidth and this.cacheHeight are of NaN while this._cacheCanvas are of 0 width and 0 height.

maertz commented 7 years ago

I would appreciate if you can provide a working example to reproduce such behaviour.

KimBye commented 7 years ago

Here is the snippet