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

Function createStore

test/ut/spec/data/SeriesData.test.ts:209–214  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

207 });
208
209 function createStore() {
210 const provider = new DefaultDataProvider([['A', 15], ['B', 25], ['C', 35]]);
211 const store = new DataStore();
212 store.initData(provider, [{type: 'ordinal'}, {type: 'float'}]);
213 return store;
214 }
215
216
217 it('SeriesData can still get other dims value from store when only part of dims are given.', function () {

Callers 1

SeriesData.test.tsFile · 0.85

Calls 1

initDataMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…