MCPcopy Create free account
hub / github.com/plotly/plotly.js / updateCategoryModel

Function updateCategoryModel

src/traces/parcats/calc.js:306–309  ·  view source on GitHub ↗

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

(categoryModel, valueInd, count)

Source from the content-addressed store, hash-verified

304 * @param {Number} count
305 */
306function updateCategoryModel(categoryModel, valueInd, count) {
307 categoryModel.valueInds.push(valueInd);
308 categoryModel.count += count;
309}
310
311
312// Path Model

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…