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

Method draw

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

Source from the content-addressed store, hash-verified

1621 }
1622
1623 draw(chartArea) {
1624 if (!this._isVisible()) {
1625 return;
1626 }
1627
1628 this.drawBackground();
1629 this.drawGrid(chartArea);
1630 this.drawBorder();
1631 this.drawTitle();
1632 this.drawLabels(chartArea);
1633 }
1634
1635 /**
1636 * @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