Hi Team,
Iam trying to avoid legend overlapping by creating a panel but {legend.Margins} is not available. I have a pie chart and legend which need to be resize dynamically when we resize the form.
NLegend legend = CreateLegend();
legend.Dock = DockStyle.Right;
legend.Margins = new NMarginsL(10, 0, 0, 0);
panel.ChildPanels.Add(legend);
Please share your feedback to avoid the overlapping of legends.Refer the attachment for more details.
Thanks,
Jeba