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

Method constructor

src/elements/element.point.ts:49–60  ·  view source on GitHub ↗
(cfg)

Source from the content-addressed store, hash-verified

47 };
48
49 constructor(cfg) {
50 super();
51
52 this.options = undefined;
53 this.parsed = undefined;
54 this.skip = undefined;
55 this.stop = undefined;
56
57 if (cfg) {
58 Object.assign(this, cfg);
59 }
60 }
61
62 inRange(mouseX: number, mouseY: number, useFinalPosition?: boolean) {
63 const options = this.options;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected