Series rendering order in ViewXY
When rendering series of the same type in ViewXY, they are rendered in the same order as they appear in the corresponding collection (series type). For example, from SampleDataBlockSeries list series at 0 index will be rendered first, followed by series at index 1 etc. Different types of series are rendered in a predefined order in LightningChart. That can be manipulated by changing the XAxis index the particular series is assigned to, because all series assigned to the first XAxis are rendered first (followed by all series assigned to the second XAxis).
ZIndex
From version 12.4 properties SeriesXY. ZIndex and ViewXY. ApplyZIndex are added, which allows to customize z-order. User needs to set ZIndex value higher (default is -1), if one wants series to be rendered at the top. Once ApplyZIndex is enabled, new order is applied. When ZIndex is the same, the series appearing earlier in series collection is rendered first. Note that this feature is different from ordering titles in LegendBox (see series LegendBoxOrderIndex property).
On the left normal rendering order of BarSeries, on the right reversed (by setting ZIndex in reverse)