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

Method parseArrayData

src/controllers/controller.bubble.js:68–75  ·  view source on GitHub ↗

* Parse array of arrays * @protected

(meta, data, start, count)

Source from the content-addressed store, hash-verified

66 * @protected
67 */
68 parseArrayData(meta, data, start, count) {
69 const parsed = super.parseArrayData(meta, data, start, count);
70 for (let i = 0; i < parsed.length; i++) {
71 const item = data[start + i];
72 parsed[i]._custom = valueOrDefault(item[2], this.resolveDataElementOptions(i + start).radius);
73 }
74 return parsed;
75 }
76
77 /**
78 * Parse array of objects

Callers

nothing calls this directly

Calls 2

valueOrDefaultFunction · 0.85

Tested by

no test coverage detected