ng2-charts
ng2-charts copied to clipboard
ng2-charts drawn partially for big chart in Firefox
Hi guys. I prepared a stackblitz example for you. You can see only 60% (16384px or 2^14px) of the ng2-chart is drawn in Firefox, but 100% in Chrome - https://stackblitz.com/edit/github-nlvlrr-mwudnj?file=src%2Fapp%2Fapp.component.ts,src%2Fapp%2Fapp.component.html,tsconfig.json&preset=node.
Maybe there is some quick workaround to this? Have been trying to solve this bug since the last week...
Firefox:
Chrome:
I also prepared this small jsfiddle eg - you can see ordinary canvas draws up to 32000px in Firefox normally - https://jsfiddle.net/1urw9q84/. 34000px for example will give you an error
Can you reproduce the same with Chart.js? If so, it's a bug for that library. There is absolutely no rendering logic in this one.