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

Function updatePathModel

src/traces/parcats/calc.js:357–360  ·  view source on GitHub ↗

* Update a PathModel object with a new value index * Note: The calling parameter is modified in place. * * @param {PathModel} pathModel * @param {Number} valueInd * @param {Number} count

(pathModel, valueInd, count)

Source from the content-addressed store, hash-verified

355 * @param {Number} count
356 */
357function updatePathModel(pathModel, valueInd, count) {
358 pathModel.valueInds.push(valueInd);
359 pathModel.count += count;
360}
361
362// Unique calculations
363// ===================

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…