Page 1 of 1

LegendBox Wrapping

Posted: Fri Jun 19, 2015 1:28 pm
by blakeadkins
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!