We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

pie chart and legend

Thread ID:

Created:

Updated:

Platform:

Replies:

47465 Aug 4,2006 03:57 PM UTC Aug 4,2006 08:29 PM UTC WinForms 1
loading
Tags: Chart
shane williams
Asked On August 4, 2006 03:57 PM UTC

i am having trouble with the pie chart and legend. i have a series from a data table, but the legend doesn''t show the pie slices, just the series name (if supplied).
There also seems to be a lot of white space around the image, even when I set auto scale.
Do I have to have multiple series for each slice?

StatusChart.zip

Administrator [Syncfusion]
Replied On August 4, 2006 08:29 PM UTC

Hi Shane,

Thanks for choosing Syncfusion Products.

You have to show the pie chart legend using following code snippet.

this.chartControl1.ShowLegend=true;
or
this.chartControl1.Legend.Visible=true;

Please take a look at the attached sample.
http://www.syncfusion.com/Support/user/uploads/pieChart_72111355.zip

Let me know if you need any further information.

Thanks,
Ramesh.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;