[Chartjs]-Not render when there are too many columns

0👍

Seems there are multiple issues about this in their git repo: Wide Bar Chart not rendering all bars, Non-Rendering Chart with Extended Width & Pixelated Chart Lines.

Solution seems to be to disable the clipping. This can be done in V2 like so:

Chart.helpers.canvas.clipArea = function() {};
Chart.helpers.canvas.unclipArea = function() {};

For V3 it should be enough to just add clip: false to your options object.

Leave a comment