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

Method get

src/data/SeriesData.ts:771–777  ·  view source on GitHub ↗

* Get value. Return NaN if idx is out of range. * * @notice Should better to use `data.getStore().get(dimIndex, dataIdx)` instead.

(dim: SeriesDimensionName, idx: number)

Source from the content-addressed store, hash-verified

769 * @notice Should better to use `data.getStore().get(dimIndex, dataIdx)` instead.
770 */
771 get(dim: SeriesDimensionName, idx: number): ParsedValue {
772 const store = this._store;
773 const dimInfo = this._dimInfos[dim];
774 if (dimInfo) {
775 return store.get(dimInfo.storeDimIndex, idx);
776 }
777 }
778
779 /**
780 * @notice Should better to use `data.getStore().getByRawIndex(dimIndex, dataIdx)` instead.

Callers 4

getDimensionMethod · 0.45
_getCategoryMethod · 0.45
hasValueMethod · 0.45
SeriesDataClass · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected