MCPcopy
hub / github.com/chartjs/Chart.js / getBasePixel

Method getBasePixel

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

941 * @return {number}
942 */
943 getBasePixel() {
944 return this.getPixelForValue(this.getBaseValue());
945 }
946
947 /**
948 * @return {number}

Callers

nothing calls this directly

Calls 2

getPixelForValueMethod · 0.95
getBaseValueMethod · 0.95

Tested by

no test coverage detected