ZIndex

Jul 22, 2012 at 5:56 PM

Hi!

Thanks for adding IsVisible property, it's very useful when you have to render several series.

Can you include ZIndex too? It would be very useful to change the order in wich series are displayed, and add the possibility to add commands like "Send to back" or "Bring to front".

Opacity property also would be an improvement: sometimes IsVisible is not enough. For example, it changes the scale of the whole plot. 

 

 

Coordinator
Aug 8, 2012 at 11:01 PM

Annotations have a 'Layer' property - but the z-order depends on the order in the collection.

It should be easy to add a z-index property to the series, but it is not really needed, I think. You can sort the Series collection before refreshing the plot.

Opacity should already be supported by the Alpha value in the color definitions!

Sep 2, 2012 at 11:11 AM

I followed your recomendation and it's working ok.

Now, my problem is the legend. In order to draw A over B, the collection must be ordered as {B,A}. And this order is displayed also in the legend, wich is wrong: A must be the first in the list, because is on the top.

Is it possible to reverse the legend?

 

Coordinator
Sep 2, 2012 at 4:43 PM
Edited Sep 2, 2012 at 4:43 PM

Try to set the LegendItemOrder property to Reverse!