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

Function compatSunburstState

src/preprocessor/backwardCompat.ts:108–118  ·  view source on GitHub ↗
(option: Dictionary<any>)

Source from the content-addressed store, hash-verified

106}
107
108function compatSunburstState(option: Dictionary<any>) {
109 if (!option) {
110 return;
111 }
112 if (option.downplay && !option.blur) {
113 option.blur = option.downplay;
114 if (__DEV__) {
115 deprecateReplaceLog('downplay', 'blur', 'sunburst');
116 }
117 }
118}
119
120function compatGraphFocus(option: Dictionary<any>) {
121 if (!option) {

Callers 1

globalBackwardCompatFunction · 0.85

Calls 1

deprecateReplaceLogFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…