Group: Forum Members
Last Active: 10 Years Ago
Posts: 7,
Visits: 1
|
When I create a pie chart with a legend and there is not enough room to show them separately, part of the pie chart covers the legend. In cartesian charts, the legend always appears on top of the charts. I would like to know how I can make the legend appear in front of (i.e. on top of) the pie chart rather than behind it when the legend and the pie chart overlap. For an example, compare the two attached images. One shows a cartesian chart and the other shows a pie chart.
|
Group: Forum Members
Last Active: Last Week
Posts: 3,054,
Visits: 4,009
|
Hello Ronnie, Take a look at the following example: All Examples -> Panels -> Legend -> General For both Cartesian and Pie chart, the order of the Chart and Legend panels is of importance.
Best Regards, Nevron Support Team
|
Group: Forum Members
Last Active: 10 Years Ago
Posts: 7,
Visits: 1
|
I have found a solution to this problem.
I have added the following line of code for the NPieSeries object named "pie": pie.Chart.SendToBack()
That ensures that the legend appears in front of the pie chart rather than behind it. Before I tried it, I was not sure whether this was possible.
Thank you for your prompt reply.
|