Nevron Forum
Home
»
Nevron Vision for NET
»
Nevron Chart for .NET
»
Legends appear behind pie charts
Login
Register
Login
Register
Home
»
Nevron Vision for NET
»
Nevron Chart for .NET
»
Legends appear behind pie charts
Legends appear behind pie charts
Post Reply
Legends appear behind pie charts
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
Goto Topics Forum
Author
Message
Ronnie Cohen
Ronnie Cohen
posted 12 Years Ago
ANSWER
Topic Details
Group: Forum Members
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.
Attachments
pie_chart_legend_overlap.png
(
148 views,
8.00 KB
)
cartesian_chart_legend_overlap.png
(
151 views,
8.00 KB
)
Reply
Like
0
Nevron Support
Nevron Support
posted 12 Years Ago
ANSWER
Post Details
Group: Administrators
Posts: 3.1K,
Visits: 4.2K
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
Reply
Like
0
Ronnie Cohen
Ronnie Cohen
posted 12 Years Ago
ANSWER
Post Details
Group: Forum Members
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.
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Similar Topics
Post Quoted Reply
Reading This Topic
1 active, 1 guest, 0 members, 0 anonymous
No members currently viewing this topic!
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search