Limiting legend size
Posted: Tue Sep 15, 2009 3:19 pm
I'm working with the Silverlight version of the chart and I've noticed the chart crashes if the legend gets too big (ie: if it takes up more space than the chart has available). Is it possible to limit the dimensions the legend takes up? Specifically I'm looking at the width of a vertical legend with one column.
I've tried by testing the legend's ActualWidth and using its Width and Height to manually cap it when it gets too large, but ActualWidth and ActualHeight only ever seem to be 0.0, and doing this causes the text to run off the legend.
I've tried by testing the legend's ActualWidth and using its Width and Height to manually cap it when it gets too large, but ActualWidth and ActualHeight only ever seem to be 0.0, and doing this causes the text to run off the legend.