Series Sorting

A forum dedicated to WPF version of LightningChart Ultimate.

Series Sorting

Postby sri » Wed Jul 31, 2019 8:00 pm

Is there any way to arrange series in a particular order. In my case i need to place my stock series first and bar series next in the legend box which i couldn't do.
Posts: 3
Joined: Wed Jul 31, 2019 6:44 pm

Re: Series Sorting

Postby Arction_LasseP » Thu Aug 01, 2019 7:47 am


Unfortunately there currently isn't a way to change the order of the series in a LegendBox. The order is determined by the rendering order of the various series types in our source code, meaning that for instance BarSeries is always shown before StockSeries. So unless you have bought access to the source code, this cannot be changed.

A workaround could be to use several LegendBoxes and modify their position (via Offset -property) and visual style so that they seem to appear as one box. Alternatively, an empty dummy series can be created. Disable ShowInLegendBox for the main series and enable it for the dummy series. Use another series type for the dummy to change its position in the LegendBox.

Best regards,
Posts: 39
Joined: Wed Mar 27, 2019 1:05 pm

Return to LightningChart Ultimate WPF

Who is online

Users browsing this forum: No registered users and 13 guests