Series Sorting
Moderator: Queue Moderators
Series Sorting
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: 141
- Joined: Wed Mar 27, 2019 1:05 pm
Re: Series Sorting
Hello,
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,
Lasse
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,
Lasse