# Programmatically Selecting Events On XY Chart

**URL:** <https://forum.inductiveautomation.com/t/programmatically-selecting-events-on-xy-chart/70856>\
**Category:** Ignition\
**Tags:** perspective, ignition81, ignition80\
**Created:** [March 9, 2023, 7:15pm UTC](https://forum.inductiveautomation.com/t/programmatically-selecting-events-on-xy-chart/70856 "2023-03-09T19:15:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stephen\_Clark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/stephen_clark/32/43319_2.png) [@Stephen\_Clark](https://forum.inductiveautomation.com/u/Stephen_Clark)\
**Post date:** [March 9, 2023, 7:15pm UTC](https://forum.inductiveautomation.com/t/programmatically-selecting-events-on-xy-chart/70856/1 "2023-03-09T19:15:20Z")

</div>

I have a timeline that shows down events (and run and slow). It is possible to select events from the XY Chart, but is it possible to programmatically select events? For example, I want to be able to select 'Knot" from the Down Reasons table, and the XY Chart automatically select every Knot event.

The manual says that properties \> selection \> data is a read-only list, so maybe it is not possible.

Maybe I can use a script to change the color of the events based on what is chosen in the Down Reasons table.

For context, here's my View.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/0/d0e5e45b3a4eed6b468cde06891c26be7426f63a.png)
