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

Method getBasePixel

src/core/core.scale.js:948–950  ·  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

946 * @return {number}
947 */
948 getBasePixel() {
949 return this.getPixelForValue(this.getBaseValue());
950 }
951
952 /**
953 * @return {number}

Callers

nothing calls this directly

Calls 2

getPixelForValueMethod · 0.95
getBaseValueMethod · 0.95

Tested by

no test coverage detected