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

Function getModel

test/ut/spec/model/Global.test.ts:45–47  ·  view source on GitHub ↗
(chart: EChartsType, type: ComponentMainType, index: number)

Source from the content-addressed store, hash-verified

43 }
44
45 function getModel(chart: EChartsType, type: ComponentMainType, index: number): ComponentModel {
46 return getECModel(chart).getComponent(type, index);
47 }
48
49 function countSeries(chart: EChartsType): number {
50 return countModel(chart, 'series');

Callers 1

Global.test.tsFile · 0.85

Calls 2

getECModelFunction · 0.90
getComponentMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…