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

Function onResize

test/specs/core.controller.tests.js:635–640  ·  view source on GitHub ↗
(chart, newSize)

Source from the content-addressed store, hash-verified

633 responsive: true,
634 maintainAspectRatio: false,
635 onResize(chart, newSize) {
636 count++;
637 correctThis = this === chart;
638 size.width = newSize.width;
639 size.height = newSize.height;
640 }
641 }
642 }, {
643 canvas: {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected