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
Asked
Active
Viewed 360 times
0
-
You can change their order in xaml. Or try to retrieve the drawn series and change ZIndex. – vortexwolf Mar 16 '13 at 11:29
-
there is no such property as ZIndex – Wally_the_Walrus Mar 16 '13 at 14:00
1 Answers
1
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.

vortexwolf
- 13,967
- 2
- 54
- 72