Oystein Bjorke 6 years ago updated by Enrico Brugnatelli 4 years ago 1
This discussion was imported from CodePlex

vindex wrote at 2012-07-22 18:56:


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. 



objo wrote at 2012-08-09 00:01:

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!

vindex wrote at 2012-09-02 12:11:

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?


objo wrote at 2012-09-02 17:43:

Try to set the LegendItemOrder property to Reverse!


It can be a problem if serie's order must be changed at runtime.