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

Function createDimensionModel

src/traces/parcats/calc.js:241–251  ·  view source on GitHub ↗

* Create and new DimensionModel object with an empty categories array * @param {Number} dimensionInd * @param {Number} containerInd * @param {Number} displayInd * @param {String} dimensionLabel * @param {Number} count * Total number of input values * @return {DimensionModel}

(dimensionInd, containerInd, displayInd, dimensionLabel, count)

Source from the content-addressed store, hash-verified

239 * @return {DimensionModel}
240 */
241function createDimensionModel(dimensionInd, containerInd, displayInd, dimensionLabel, count) {
242 return {
243 dimensionInd: dimensionInd,
244 containerInd: containerInd,
245 displayInd: displayInd,
246 dimensionLabel: dimensionLabel,
247 count: count,
248 categories: [],
249 dragX: null
250 };
251}
252
253// Category Model
254// --------------

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…