MCPcopy
hub / github.com/apache/echarts / getIndicesCtor

Function getIndicesCtor

src/data/DataStore.ts:119–122  ·  view source on GitHub ↗
(rawCount: number)

Source from the content-addressed store, hash-verified

117let defaultDimValueGetters: {[sourceFormat: string]: DimValueGetter};
118
119function getIndicesCtor(rawCount: number): DataArrayLikeConstructor {
120 // The possible max value in this._indicies is always this._rawCount despite of filtering.
121 return rawCount > 65535 ? CtorUint32Array : CtorUint16Array;
122};
123
124function cloneChunk(originalChunk: DataValueChunk): DataValueChunk {
125 const Ctor = originalChunk.constructor;

Callers 6

getIndicesMethod · 0.85
filterMethod · 0.85
selectRangeMethod · 0.85
lttbDownSampleMethod · 0.85
minmaxDownSampleMethod · 0.85
downSampleMethod · 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…