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

Method manuallyHideTip

src/component/tooltip/TooltipView.ts:389–407  ·  view source on GitHub ↗
(
        tooltipModel: TooltipModel,
        ecModel: GlobalModel,
        api: ExtensionAPI,
        payload: HideTipPayload
    )

Source from the content-addressed store, hash-verified

387 }
388
389 manuallyHideTip(
390 tooltipModel: TooltipModel,
391 ecModel: GlobalModel,
392 api: ExtensionAPI,
393 payload: HideTipPayload
394 ) {
395 const tooltipContent = this._tooltipContent;
396
397 if (this._tooltipModel) {
398 tooltipContent.hideLater(this._tooltipModel.get('hideDelay'));
399 }
400
401 this._lastX = this._lastY = this._lastDataByCoordSys = null;
402 this._cbParamsList = null;
403
404 if (payload.from !== this.uid) {
405 this._hide(makeDispatchAction(payload, api));
406 }
407 }
408
409 // Be compatible with previous design, that is, when tooltip.type is 'axis' and
410 // dispatchAction 'showTip' with seriesIndex and dataIndex will trigger axis pointer

Callers

nothing calls this directly

Calls 4

_hideMethod · 0.95
makeDispatchActionFunction · 0.70
hideLaterMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected