diff --git a/src/chart/sunburst/sunburstAction.ts b/src/chart/sunburst/sunburstAction.ts index d45fdde79b..ade76a3082 100644 --- a/src/chart/sunburst/sunburstAction.ts +++ b/src/chart/sunburst/sunburstAction.ts @@ -87,7 +87,7 @@ export function installSunburstAction(registers: EChartsExtensionInstallRegister } if (__DEV__) { - deprecateReplaceLog('highlight', 'sunburstHighlight'); + deprecateReplaceLog('sunburstHighlight', 'highlight'); } // Fast forward action @@ -103,7 +103,7 @@ export function installSunburstAction(registers: EChartsExtensionInstallRegister payload = extend({}, payload); if (__DEV__) { - deprecateReplaceLog('downplay', 'sunburstUnhighlight'); + deprecateReplaceLog('sunburstUnhighlight', 'downplay'); } api.dispatchAction(extend(payload, { @@ -112,4 +112,4 @@ export function installSunburstAction(registers: EChartsExtensionInstallRegister } ); -} \ No newline at end of file +}