# LineChartXAxisIndexCursor action when dragged

**URL:** <https://community.br-automation.com/t/linechartxaxisindexcursor-action-when-dragged/6004>\
**Category:** HMI & Visualization\
**Tags:** mapp-view, mappview\
**Created:** [February 24, 2025, 1:24pm UTC](https://community.br-automation.com/t/linechartxaxisindexcursor-action-when-dragged/6004 "2025-02-24T13:24:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ondrej\_Petr](https://dub1.discourse-cdn.com/brcommunity/user_avatar/community.br-automation.com/ondrej_petr/32/4919_2.png) [@Ondrej\_Petr](https://community.br-automation.com/u/Ondrej_Petr)\
**Post date:** [February 24, 2025, 1:24pm UTC](https://community.br-automation.com/t/linechartxaxisindexcursor-action-when-dragged/6004/1 "2025-02-24T13:24:37Z")

</div>

Hello,  
in the application I am using Line chart with cursor on X axis. I have function written to always keep the cursor at rightmost position to read live value.

Its also possible to drag the cursor to any position on the X axis to read values at specific times. I need to disable the live chart functionality when cursor is dragged. Click action seems to be not working if cursor is clicked or dragged and dropped. Even in Server/info click of the cursor does not generate event.

Do you have any ideas how to solve it?  
Thanks  
Ondrej

---

<div class="post-metadata">

**Author:** ![kovarj](https://dub1.discourse-cdn.com/brcommunity/user_avatar/community.br-automation.com/kovarj/32/537_2.png) [@kovarj](https://community.br-automation.com/u/kovarj)\
**Post date:** [March 9, 2025, 6:02pm UTC](https://community.br-automation.com/t/linechartxaxisindexcursor-action-when-dragged/6004/2 "2025-03-09T18:02:42Z")

</div>

Can anyone from BRCommunity help? 👩‍🎓

---

<div class="post-metadata">

**Author:** ![Ondrej\_Petr](https://dub1.discourse-cdn.com/brcommunity/user_avatar/community.br-automation.com/ondrej_petr/32/4919_2.png) [@Ondrej\_Petr](https://community.br-automation.com/u/Ondrej_Petr)\
**Post date:** [March 10, 2025, 6:40am UTC](https://community.br-automation.com/t/linechartxaxisindexcursor-action-when-dragged/6004/3 "2025-03-10T06:40:06Z")

</div>

I solved the issue my way, with monitoring the change of the cursor time. I think this is workaround since cursor has event of “click”. This event I was not able to trigger in our application with clicking or dragging and dropping the cursor.

---

<div class="post-metadata">

**Author:** ![kovarj](https://dub1.discourse-cdn.com/brcommunity/user_avatar/community.br-automation.com/kovarj/32/537_2.png) [@kovarj](https://community.br-automation.com/u/kovarj)\
**Post date:** [March 10, 2025, 8:48am UTC](https://community.br-automation.com/t/linechartxaxisindexcursor-action-when-dragged/6004/4 "2025-03-10T08:48:35Z")

</div>

thanks for update @Ondrej_Petr
