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

Method getBaseValue

src/core/core.scale.js:958–964  ·  view source on GitHub ↗

* @return {number}

()

Source from the content-addressed store, hash-verified

956 * @return {number}
957 */
958 getBaseValue() {
959 const {min, max} = this;
960
961 return min < 0 && max < 0 ? max :
962 min > 0 && max > 0 ? min :
963 0;
964 }
965
966 /**
967 * @protected

Callers 1

getBasePixelMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected