You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by ni...@bliq.se on 2023/03/17 20:39:24 UTC
Action to set axisPointer?
Is there any way to set the position of the axisPointer via code?
I suppose not since I can't find it among the actions. Would be useful
imho
Re: Action to set axisPointer?
Posted by ni...@bliq.se.INVALID.
Thanks, but I can't find updateAxisPointer in the docs or get it to
work?
On 20.03.2023 04:12, SHUANG SU wrote:
> There is an action named 'updateAxisPointer' might help.
> Like
>
> ```js
> chart.dispatchAction({
> type: 'updateAxisPointer',
> currTrigger: 'mousemove',
> // This point will reproduct the issue #9829 before
> 4.4.0
> x: 411,
> y: 130
> });
> ```
>
>
>
> Thanks,
> ------------------------------
> Su Shuang (100pah)
> ------------------------------
>
>
>
> On Sat, 18 Mar 2023 at 04:39, <ni...@bliq.se> wrote:
>
>>
>>
>> Is there any way to set the position of the axisPointer via code?
>>
>> I suppose not since I can't find it among the actions. Would be useful
>> imho
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@echarts.apache.org
For additional commands, e-mail: dev-help@echarts.apache.org
Re: Action to set axisPointer?
Posted by SHUANG SU <su...@gmail.com>.
There is an action named 'updateAxisPointer' might help.
Like
```js
chart.dispatchAction({
type: 'updateAxisPointer',
currTrigger: 'mousemove',
// This point will reproduct the issue #9829 before
4.4.0
x: 411,
y: 130
});
```
Thanks,
------------------------------
Su Shuang (100pah)
------------------------------
On Sat, 18 Mar 2023 at 04:39, <ni...@bliq.se> wrote:
>
>
> Is there any way to set the position of the axisPointer via code?
>
> I suppose not since I can't find it among the actions. Would be useful
> imho