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

Method getRegionModel

src/chart/map/MapSeries.ts:212–215  ·  view source on GitHub ↗

* Get model of region

(regionName: string)

Source from the content-addressed store, hash-verified

210 * Get model of region
211 */
212 getRegionModel(regionName: string): Model<MapDataItemOption> {
213 const data = this.getData();
214 return data.getItemModel(data.indexOfName(regionName));
215 }
216
217 /**
218 * Map tooltip formatter

Callers

nothing calls this directly

Calls 3

getItemModelMethod · 0.80
getDataMethod · 0.65
indexOfNameMethod · 0.45

Tested by

no test coverage detected