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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Value labels on a Chart

Thread ID:

Created:

Updated:

Platform:

Replies:

51567 Nov 8,2006 03:48 PM UTC Nov 9,2006 08:23 AM UTC WinForms 1
loading
Tags: XlsIO
David Davis
Asked On November 8, 2006 03:48 PM UTC

I have a chart object in my worksheet and I want to be able to display or not display the data labels. I also want to be able to set the position of the data label.

These are the Office.Interop enums that I use. Are there any similar enums in Syncfusion.

Excel.XlDataLabelsType.xlDataLabelsShowValue
Excel.XlDataLabelsType.xlDataLabelsShowNone

Excel.XlDataLabelPosition.xlLabelPositionCenter

Melba Winshia [Syncfusion]
Replied On November 9, 2006 08:23 AM UTC

Hi David,

1) Use the following code snippets to set the Value labels on a Chart.

[C#]

//Setting the Value labels on a Chart.
IChartDataLabels labels = serieOne.DataPoints.DefaultDataPoint.DataLabels;
labels.IsValue = true;

Here is the sample for your reference:

Format_datalabel.zip


2) Currently we do not have support to set the position of the data label. I have created a feature request regarding this with our development team.

Please track the status of this feature through the following

http://www.syncfusion.com/support/features/xlsio/Default.aspx?ToDo=view&questId=1349

Please let me know if you have any other questions.

Thanks,
Melba


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

;