0

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

Wally_the_Walrus
  • 219
  • 1
  • 5
  • 17

1 Answers1

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