I have a WPF line series chart, when a datapoint is selected the selection changed event is fired.
我想知道的是,有没有办法给数据点 ID 值,以便我可以从选择事件中获取它们
就像是:
private void LineSeries_SelectionChanged_1(object sender, SelectionChangedEventArgs e)
{
int id = ((something)sender).id;
}