Programmatically Selecting Events On XY Chart

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.