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

Method draw

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

Source from the content-addressed store, hash-verified

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