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

Method getBasePixel

src/core/core.scale.js:951–953  ·  view source on GitHub ↗

* Returns the pixel for the minimum chart value * The coordinate (0, 0) is at the upper-left corner of the canvas * @return {number}

()

Source from the content-addressed store, hash-verified

949 * @return {number}
950 */
951 getBasePixel() {
952 return this.getPixelForValue(this.getBaseValue());
953 }
954
955 /**
956 * @return {number}

Callers

nothing calls this directly

Calls 2

getPixelForValueMethod · 0.95
getBaseValueMethod · 0.95

Tested by

no test coverage detected