SIGN IN SIGN UP
chartjs / Chart.js UNCLAIMED

Simple HTML5 Charts using the <canvas> tag

0 0 1 JavaScript

Update docs on printing (#8149)

From what I can tell from testing locally, Chrome doesn't reliably trigger resize events for the final print layout, so using `.resize()` with no parameters doesn't generally work.

I'm not sure if there are circumstances in which the original docs' suggestion of using `.resize()` with no parameters can work; if the original text should be deleted, I can do so.

I also noticed that the TypeScript type definitions for `.resize()` mark the parameters as required, even though the implementation and docs don't require them.
J
Josh Kelley committed
dc00ed08cb7753a8df61edda1e5c660c71f7ec57
Parent: 649f815
Committed by GitHub <noreply@github.com> on 12/10/2020, 2:25:00 PM