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

Method getItemVisual

src/data/SeriesData.ts:1191–1199  ·  view source on GitHub ↗
(idx: number, key: K)

Source from the content-addressed store, hash-verified

1189 */
1190 // eslint-disable-next-line
1191 getItemVisual<K extends keyof Visual>(idx: number, key: K): Visual[K] {
1192 const itemVisual = this._itemVisuals[idx] as Visual;
1193 const val = itemVisual && itemVisual[key];
1194 if (val == null) {
1195 // Use global visual property
1196 return this.getVisual(key);
1197 }
1198 return val;
1199 }
1200
1201 /**
1202 * If exists visual property of single data item

Callers 15

applyEdgeFillFunction · 0.45
updateDataMethod · 0.45
_renderOnGridLikeMethod · 0.45
progressFunction · 0.45
styleFunction · 0.45
visualFunction · 0.45
makeSymbolTypeValueFunction · 0.45
createSymbolFunction · 0.45
_createLineMethod · 0.45
_updateCommonStlMethod · 0.45
_updateCommonStlMethod · 0.45
updateDataMethod · 0.45

Calls 1

getVisualMethod · 0.95

Tested by

no test coverage detected