diff --git a/docs/api/options/events.en.md b/docs/api/options/events.en.md index d16b1394cf..a7bbbc3cc7 100644 --- a/docs/api/options/events.en.md +++ b/docs/api/options/events.en.md @@ -38,7 +38,7 @@ In `Basic Events`, as long as these events are triggered in the canvas, they wil - When the column of the column plot is clicked - When a certain item of the legend is hovered -- When the axis label is dbclicked +- When the axis label is dblclicked - and so on... In this case, we can use the composite event of G2. The composite event rule of G2 is: `component name: basic event name`, namely: @@ -51,7 +51,7 @@ For example, corresponding to the above scenarios, the event name is: - element:click - legend-item:mouseover -- axis-label:dbclick +- axis-label:dblclick - and so on... > Among the built-in components of G2Plot(G2), the classification of componentName is very detailed, which can be roughly explained with the following figure. diff --git a/docs/api/options/events.zh.md b/docs/api/options/events.zh.md index aaf789c9d4..dd1f0272dc 100644 --- a/docs/api/options/events.zh.md +++ b/docs/api/options/events.zh.md @@ -38,7 +38,7 @@ order: 6 - 柱形图的柱子被 click 的时候 - 图例的某一项被 hover 的时候 -- 坐标轴的标签被 dbclick 的时候 +- 坐标轴的标签被 dblclick 的时候 - ... 这种情况我们就可以使用 G2 的组合事件,G2 的组合事件规则为:`组件名:基础事件名`,即: @@ -51,7 +51,7 @@ ${componentName}:${eventName} - element:click - legend-item:mouseover -- axis-label:dbclick +- axis-label:dblclick - ... > G2Plot(G2) 内置的组件中,componentName 的分类很细,可以以下面的一个图进行大概说明。