CategoryName and ShowLeaderLines and Category Labels

How do I enable the show leader lines option on a PIE chart ?
How do I enable the Category Name in the pie chart?

What these two functions do is cause the chart to show "call outs" that reference the piece of the pie. (Chart Options:Data Labels in Excel)

How do I set Category Labels of a pie chart to be a string. In excel now I assign the Category Labels a string that looks like ="{"ACD", "NONACD", "OUT"}"" (Chart: Source Data: Series Category Labels in Excel)


1 Reply

MW Melba Winshia Syncfusion Team August 31, 2006 02:08 PM UTC

Hi rob,

1. Use the following code snippets to enable the category name in the pie chart.

[c#]

//setting value Label
serieOne.DataPoints.DefaultDataPoint.DataLabels.IsValue=true;

//Setting category name
serieOne.DataPoints.DefaultDataPoint.DataLabels.IsCategoryName=true;

//Setting series name.
serieOne.DataPoints.DefaultDataPoint.DataLabels.IsSeriesName=true;

Here is a sample for your reference:

Chart_Labels.zip



2. Currently we do not provide support for leader lines. Sorry for inconvenience.



Thanks,
Melba

Loader.
Up arrow icon