plainheart commented on code in PR #17252:
URL: https://github.com/apache/echarts/pull/17252#discussion_r905700457
##########
src/component/visualMap/ContinuousView.ts:
##########
@@ -109,6 +109,9 @@ class ContinuousView extends VisualMapView {
private _api: ExtensionAPI;
+ private _ownHoverLinkFromSeriesMouseOver = (e: ElementEvent) =>
this._hoverLinkFromSeriesMouseOver(e);
+
+ private _ownHideIndicator = () => this._hideIndicator();
Review Comment:
I think we can refer to the
[`SliderZoomView`](https://github.com/apache/echarts/blob/master/src/component/dataZoom/SliderZoomView.ts#L135-L141)
and use the same strategy.
Note that since some codes use `this.api` rather than `this._api`, you may
need to change them to `this._api` after overriding the `init` function. And
the assignment to `this._api` in `doRender` function can be moved into the
`init` function.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]