MCPcopy Create free account
hub / github.com/chartjs/Chart.js / onResize

Function onResize

test/specs/core.controller.spec.js:771–776  ·  view source on GitHub ↗
(chart, newSize)

Source from the content-addressed store, hash-verified

769 responsive: true,
770 maintainAspectRatio: false,
771 onResize(chart, newSize) {
772 count++;
773 correctThis = this === chart;
774 size.width = newSize.width;
775 size.height = newSize.height;
776 }
777 }
778 }, {
779 canvas: {

Callers

nothing calls this directly

Calls 1

destroyMethod · 0.80

Tested by

no test coverage detected