(option: Dictionary<any>)
| 94 | } |
| 95 | |
| 96 | function compatPieLabel(option: Dictionary<any>) { |
| 97 | if (!option) { |
| 98 | return; |
| 99 | } |
| 100 | if (option.alignTo === 'edge' && option.margin != null && option.edgeDistance == null) { |
| 101 | if (__DEV__) { |
| 102 | deprecateReplaceLog('label.margin', 'label.edgeDistance', 'pie'); |
| 103 | } |
| 104 | option.edgeDistance = option.margin; |
| 105 | } |
| 106 | } |
| 107 | |
| 108 | function compatSunburstState(option: Dictionary<any>) { |
| 109 | if (!option) { |
no test coverage detected
searching dependent graphs…