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

Method parse

src/scales/scale.logarithmic.js:103–110  ·  view source on GitHub ↗
(raw, index)

Source from the content-addressed store, hash-verified

101 }
102
103 parse(raw, index) {
104 const value = LinearScaleBase.prototype.parse.apply(this, [raw, index]);
105 if (value === 0) {
106 this._zero = true;
107 return undefined;
108 }
109 return isFinite(value) && value > 0 ? value : null;
110 }
111
112 determineDataLimits() {
113 const {min, max} = this.getMinMax(true);

Callers

nothing calls this directly

Calls 1

applyMethod · 0.80

Tested by

no test coverage detected