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

Method constructor

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected