Hi,
I have the following problem:If I have more items in my Legend (More Series), each item becomes smaller.But if I have one single legend item it is very big. The text ends with "...".
I want to print this chart out, so I want to achieve that the legend resize itself, sothat the whole text is readable, no matter how big the chart is.
Hello,
I suggest you use the code provided above.
Set the Margin of Legend and Margin Type must be perecent try below code. Try to increase or decrease the value of margin it will show yu the affect in size of Legend. remmber the sum of margin of top+bottom and right+left should nto exceed 100. As it calculates in perecentage. So when you give margin make sure about the value distributuon of margins top, bottom,left,right
<igCA:XamChart.Legend>
<igCA:Legend MarginType="Percent" Foreground="#FFE6E6E6" Margin
="70,10,10,55" />