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

Function applyUserPropsAfter

src/chart/custom/CustomView.ts:875–881  ·  view source on GitHub ↗
(itemStyle: ZRStyleProps, extra: ZRStyleProps)

Source from the content-addressed store, hash-verified

873 }
874
875 function applyUserPropsAfter(itemStyle: ZRStyleProps, extra: ZRStyleProps): void {
876 for (const key in extra) {
877 if (hasOwn(extra, key)) {
878 (itemStyle as any)[key] = (extra as any)[key];
879 }
880 }
881 }
882
883 function preFetchFromExtra(extra: ZRStyleProps, itemStyle: ItemStyleProps): void {
884 // A trick to retrieve those props firstly, which are used to

Callers 2

styleFunction · 0.85
styleEmphasisFunction · 0.85

Calls 1

hasOwnFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…