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

Method configure

docs/scripts/log2.js:39–46  ·  view source on GitHub ↗

* @protected

()

Source from the content-addressed store, hash-verified

37 * @protected
38 */
39 configure() {
40 const start = this.min;
41
42 super.configure();
43
44 this._startValue = Math.log2(start);
45 this._valueRange = Math.log2(this.max) - Math.log2(start);
46 }
47
48 getPixelForValue(value) {
49 if (value === undefined || value === 0) {

Callers

nothing calls this directly

Calls 1

configureMethod · 0.65

Tested by

no test coverage detected