Legendbox not showing all Items
Moderator: Queue Moderators
Legendbox not showing all Items
The horizontal Legendbox in the screenshot attached does not show all items. Is there a way to do this without scrolling?
- Attachments
-
- Shows the incomplete Legendbox
- LegendboxIncomplete.png (61.67 KiB) Viewed 5137 times
-
- Posts: 141
- Joined: Wed Mar 27, 2019 1:05 pm
Re: Legendbox not showing all Items
Hello,
LegendBoxes have Layout -property, which could be used here.
The difference between these two is that Horizontal arranges the items into a single row, whereas HorizontalRowSpan uses multiple rows if there isn't enough space. Using the latter might be the key here.
Best regards,
Lasse
LegendBoxes have Layout -property, which could be used here.
Code: Select all
_chart.ViewXY.LegendBoxes[0].Layout = LegendBoxLayout.Horizontal;
_chart.ViewXY.LegendBoxes[0].Layout = LegendBoxLayout.HorizontalRowSpan;
Best regards,
Lasse
Re: Legendbox not showing all Items
It worked!
Thanks
Heiko
Thanks
Heiko