MCPcopy Index your code
hub / github.com/apache/echarts / getByRawIndex

Method getByRawIndex

src/data/DataStore.ts:485–491  ·  view source on GitHub ↗

* @param dim concrete dim

(dim: DimensionIndex, rawIdx: number)

Source from the content-addressed store, hash-verified

483 * @param dim concrete dim
484 */
485 getByRawIndex(dim: DimensionIndex, rawIdx: number): ParsedValue {
486 if (!(rawIdx >= 0 && rawIdx < this._rawCount)) {
487 return NaN;
488 }
489 const dimStore = this._chunks[dim];
490 return dimStore ? dimStore[rawIdx] : NaN;
491 }
492
493 /**
494 * Get sum of data in one dimension

Callers 1

calculateStackFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected