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

Method constructor

src/scales/scale.linearbase.js:161–173  ·  view source on GitHub ↗
(cfg)

Source from the content-addressed store, hash-verified

159export default class LinearScaleBase extends Scale {
160
161 constructor(cfg) {
162 super(cfg);
163
164 /** @type {number} */
165 this.start = undefined;
166 /** @type {number} */
167 this.end = undefined;
168 /** @type {number} */
169 this._startValue = undefined;
170 /** @type {number} */
171 this._endValue = undefined;
172 this._valueRange = 0;
173 }
174
175 parse(raw, index) { // eslint-disable-line no-unused-vars
176 if (isNullOrUndef(raw)) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected