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 +} diff --git a/src/export/core.ts b/src/export/core.ts index d17b784b0e..9c3107ecf1 100644 --- a/src/export/core.ts +++ b/src/export/core.ts @@ -34,6 +34,7 @@ export {ZRColor as Color, Payload} from '../util/types'; export {LinearGradientObject} from 'zrender/src/graphic/LinearGradient'; export {RadialGradientObject} from 'zrender/src/graphic/RadialGradient'; export {PatternObject, ImagePatternObject, SVGPatternObject} from 'zrender/src/graphic/Pattern'; +export {ElementEvent} from 'zrender/src/Element'; // ComposeOption import type { ComponentOption, ECBasicOption as EChartsCoreOption } from '../util/types'; diff --git a/src/util/log.ts b/src/util/log.ts index 7d8ca56285..8bcc7cc114 100644 --- a/src/util/log.ts +++ b/src/util/log.ts @@ -68,7 +68,7 @@ export function deprecateReplaceLog(oldOpt: string, newOpt: string, scope?: stri /** * If in __DEV__ environment, get console printable message for users hint. * Parameters are separated by ' '. - * @usuage + * @usage * makePrintable('This is an error on', someVar, someObj); * * @param hintInfo anything about the current execution context to hint users.