Skip to content

Commit f3ce392

Browse files
committed
doc(custom: support tooltipDisabled for custom series
apache/echarts#20447
1 parent d18744c commit f3ce392

2 files changed

Lines changed: 36 additions & 0 deletions

File tree

en/option/partial/zr-graphic.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1396,6 +1396,12 @@ chart.on('click', function (params) {
13961396
13971397
Whether response to mouse events / touch events.
13981398
1399+
{{ if: ${usageType} === 'customSeries' }}
1400+
{{ use: partial-custom-series-tooltipDisabled(
1401+
prefix = ${prefix}
1402+
) }}
1403+
{{ /if }}
1404+
13991405
{{ if: ${type} !== 'group' }}
14001406
##${prefix} invisible(boolean) = false
14011407
@@ -1997,6 +2003,18 @@ Same to [style](~${optionPath}.${hostName}${symbolVisit}polygon.style).
19972003
19982004
19992005
2006+
{{ target: partial-custom-series-tooltipDisabled }}
2007+
2008+
##${prefix} tooltipDisabled(boolean) = false
2009+
2010+
Whether disable triggering tooltip.
2011+
2012+
{{ use: partial-version(
2013+
version = '6.0.0'
2014+
) }}
2015+
2016+
2017+
20002018
{{ target: partial-custom-series-extra }}
20012019
20022020
##${prefix} extra(Object)

zh/option/partial/zr-graphic.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1376,6 +1376,12 @@ chart.on('click', function (params) {
13761376
13771377
是否不响应鼠标以及触摸事件。
13781378
1379+
{{ if: ${usageType} === 'customSeries' }}
1380+
{{ use: partial-custom-series-tooltipDisabled(
1381+
prefix = ${prefix}
1382+
) }}
1383+
{{ /if }}
1384+
13791385
{{ if: ${type} !== 'group' }}
13801386
##${prefix} invisible(boolean) = false
13811387
@@ -1971,6 +1977,18 @@ Position of `textContent`.
19711977
19721978
19731979
1980+
{{ target: partial-custom-series-tooltipDisabled }}
1981+
1982+
##${prefix} tooltipDisabled(boolean) = false
1983+
1984+
是否不响应 tooltip。
1985+
1986+
{{ use: partial-version(
1987+
version = '6.0.0'
1988+
) }}
1989+
1990+
1991+
19741992
{{ target: partial-custom-series-extra }}
19751993
19761994
##${prefix} extra(Object)

0 commit comments

Comments
 (0)