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

Method parsePrimitiveData

src/controllers/controller.bubble.js:46–52  ·  view source on GitHub ↗

* Parse array of primitive values * @protected

(meta, data, start, count)

Source from the content-addressed store, hash-verified

44 * @protected
45 */
46 parsePrimitiveData(meta, data, start, count) {
47 const parsed = super.parsePrimitiveData(meta, data, start, count);
48 for (let i = 0; i < parsed.length; i++) {
49 parsed[i]._custom = this.resolveDataElementOptions(i + start).radius;
50 }
51 return parsed;
52 }
53
54 /**
55 * Parse array of arrays

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected