LegendBox Wrapping

Need a new feature to LightningChart Ultimate? Post it here and perhaps it will be implemented in the next version...

Moderator: Arction_LasseP

Post Reply
User avatar
blakeadkins
Posts: 44
Joined: Tue Feb 25, 2014 7:49 pm

LegendBox Wrapping

Post by blakeadkins » Fri Jun 19, 2015 1:28 pm

I noticed when I have the LegendBox Layout is set to VerticalColumnSpan or HorizontalRowSpan that it uses the total graph height/width respectively to set the height for the legend box. Then it wraps if it can't fit it.

However, if you re-position the legendbox, it will then render off the chart because the chart height is being used (see images).


Would it be possible to either 1) Make MaxHeight a Property that can be set and then the legend box would wrap accordingly. or 2) Check if the rendered Rect of the LegendBox is off the chart at all and then set the height to not allow going off the chart (if Vertical allow going off chart horizontally and vice-versa).

Thanks!
Attachments
legendBoxPartial.PNG
Legend Box Partially Cutoff
legendBoxPartial.PNG (25.4 KiB) Viewed 8363 times
legendboxFull.PNG
Legend Box Full Render
legendboxFull.PNG (54.36 KiB) Viewed 8363 times

Post Reply