is there any way how to bring to the front any of displayed line series in my chart component? I tried Focus(), but this do not work. thanks
var series = (Series)chart.Series[0]; // you can replace 0 by a more appropriate index
series.SetValue(Panel.ZIndexProperty, 99);
I used an arbitrary value 99 for ZIndex, in reality you can use any value greater than 0.
Here is the official documentation on this property.