MCPcopy
hub / github.com/chartjs/Chart.js / draw

Method draw

src/core/core.scale.js:1621–1631  ·  view source on GitHub ↗
(chartArea)

Source from the content-addressed store, hash-verified

1619 }
1620
1621 draw(chartArea) {
1622 if (!this._isVisible()) {
1623 return;
1624 }
1625
1626 this.drawBackground();
1627 this.drawGrid(chartArea);
1628 this.drawBorder();
1629 this.drawTitle();
1630 this.drawLabels(chartArea);
1631 }
1632
1633 /**
1634 * @return {object[]}

Callers 1

_layersMethod · 0.95

Calls 6

_isVisibleMethod · 0.95
drawBackgroundMethod · 0.95
drawGridMethod · 0.95
drawBorderMethod · 0.95
drawTitleMethod · 0.95
drawLabelsMethod · 0.95

Tested by

no test coverage detected