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

Method getRawDataItem

src/data/DataStore.ts:1208–1221  ·  view source on GitHub ↗

* Get raw data item

(idx: number)

Source from the content-addressed store, hash-verified

1206 * Get raw data item
1207 */
1208 getRawDataItem(idx: number): OptionDataItem {
1209 const rawIdx = this.getRawIndex(idx);
1210 if (!this._provider.persistent) {
1211 const val = [];
1212 const chunks = this._chunks;
1213 for (let i = 0; i < chunks.length; i++) {
1214 val.push(chunks[i][rawIdx]);
1215 }
1216 return val;
1217 }
1218 else {
1219 return this._provider.getItem(rawIdx);
1220 }
1221 }
1222
1223 /**
1224 * Clone shallow.

Callers 13

SeriesData.test.tsFile · 0.45
computeNodeBreadthsFunction · 0.45
isNodeDepthFunction · 0.45
getInitialDataMethod · 0.45
getInitialDataMethod · 0.45
sortTransform.tsFile · 0.45
filterTransform.tsFile · 0.45
getDataParamsMethod · 0.45
getGroupIdFunction · 0.45
eachItemFunction · 0.45
incrementalApplyVisualFunction · 0.45

Calls 2

getRawIndexMethod · 0.65
getItemMethod · 0.65

Tested by

no test coverage detected