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

Method draw

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

Source from the content-addressed store, hash-verified

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