The easiest way you could go is to simply set the AutoLayout
property of RadChart to true
. This will make all the chart elements to not overlap each other.
property defines the number of characters to be shown before the legend item text gets trimmed. And in case the legend item text is longer than the specified number, an ellipsis (...
) sign is shown.
Here is a sample code:
|chart.AutoLayout = true;
|chart.Legend.Appearance.ItemTextAppearance.MaxLength = 20;
Hope this will help.
the Telerik team