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

Function countModel

test/ut/spec/model/Global.test.ts:53–58  ·  view source on GitHub ↗
(chart: EChartsType, type: ComponentMainType)

Source from the content-addressed store, hash-verified

51 }
52
53 function countModel(chart: EChartsType, type: ComponentMainType): number {
54 // FIXME
55 // access private
56 // @ts-ignore
57 return getECModel(chart)._componentsMap.get(type).length;
58 }
59
60 function getChartView(chart: EChartsType, series: SeriesModel): ChartView {
61 // @ts-ignore

Callers 2

countSeriesFunction · 0.85
Global.test.tsFile · 0.85

Calls 2

getECModelFunction · 0.90
getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…