Programmatically Setting Selection on chart

I see there is a method to clear the selection on a chart. Is there a way to set a point as selected? I was thinking something along the lines of:

setSelection(x_point,y_point)

Sorry, no, there currently isn’t a way to set the selected point. I’ve taken the liberty of moving this thread to the feature request forum, we’ll see what we can do.

Over 10 years later.
I am on 7.9.17 and Windows.

Was this feature ever added?
If not, is there a workaround?

I implemented it for XTrace in my NoteChart module. That’s pretty much it.

Thanks for the reply @pturmel, but I cannot justify spending a few hundred dollars on a 3rd party module, just for this feature.
It’s a shame IA never added this feature. It seems like it would be useful to many.

With sufficient scripting know-how, I think you could reflectively call the otherwise-hidden _setSelectedXValue() method on the PMILinechartPanel.

@PGriffith, would it be possible for you to provide an example?
This function takes a string. I have a numeric domain axis in the Chart component. Converting my domain axis value to a string does not seem to work.
The documentation does not explain this and the term “domainAnchor” shows up in the docs on the page you point to, but it doesn’t seem to be explained anywhere.

Perhaps setAnchor(Point2D(x, y)), then?

I don’t have an example because I haven’t done this.