MCPcopy Index your code
hub / github.com/plotly/plotly.js / createPathModel

Function createPathModel

src/traces/parcats/calc.js:339–347  ·  view source on GitHub ↗

* Create and return a new PathModel object * @param {Array} categoryInds * @param color * @param rawColor * @return {PathModel}

(categoryInds, color, rawColor)

Source from the content-addressed store, hash-verified

337 * @return {PathModel}
338 */
339function createPathModel(categoryInds, color, rawColor) {
340 return {
341 categoryInds: categoryInds,
342 color: color,
343 rawColor: rawColor,
344 valueInds: [],
345 count: 0
346 };
347}
348
349/**
350 * Update a PathModel object with a new value index

Callers 1

calc.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…