Back to Devexpress

Series.UseCustomDataLabels Property

officefileapi-devexpress-dot-spreadsheet-dot-charts-dot-series-2c8ad5d4.md

latest4.3 KB
Original Source

Series.UseCustomDataLabels Property

Gets or sets whether to apply custom settings to data labels.

Namespace : DevExpress.Spreadsheet.Charts

Assembly : DevExpress.Spreadsheet.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
bool UseCustomDataLabels { get; set; }
vb
Property UseCustomDataLabels As Boolean

Property Value

TypeDescription
Boolean

true , to apply custom settings to specific data labels; otherwise, false.

|

Remarks

Use the Series.CustomDataLabels property to specify custom settings for data labels.

The following code snippets (auto-collected from DevExpress Examples) contain references to the UseCustomDataLabels property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-spreadsheet-chart-api/CS/SpreadsheetWPFChartAPISamples/CodeExamples/DataLabelsActions.cs#L77

csharp
chart.Series[1].CustomDataLabels.ShowValue = true;
chart.Series[1].UseCustomDataLabels = true;

winforms-spreadsheet-chart-api/CS/SpreadsheetChartAPISamples/CodeExamples/DataLabelsActions.cs#L77

csharp
chart.Series[1].CustomDataLabels.ShowValue = true;
chart.Series[1].UseCustomDataLabels = true;

spreadsheet-document-api-chart-examples/CS/SpreadsheetDocServerChartAPISamples/CodeExamples/DataLabelsActions.cs#L86

csharp
chart.Series[1].CustomDataLabels.ShowValue = true;
chart.Series[1].UseCustomDataLabels = true;

wpf-spreadsheet-chart-api/VB/SpreadsheetWPFChartAPISamples/CodeExamples/DataLabelsActions.vb#L81

vb
chart.Series(1).CustomDataLabels.ShowValue = True
chart.Series(1).UseCustomDataLabels = True

winforms-spreadsheet-chart-api/VB/SpreadsheetChartAPISamples/CodeExamples/DataLabelsActions.vb#L80

vb
chart.Series(1).CustomDataLabels.ShowValue = True
chart.Series(1).UseCustomDataLabels = True

spreadsheet-document-api-chart-examples/VB/SpreadsheetDocServerChartAPISamples/CodeExamples/DataLabelsActions.vb#L87

vb
chart.Series(1).CustomDataLabels.ShowValue = True
            chart.Series(1).UseCustomDataLabels = True
#End Region ' #DataLabelsPerSeries

See Also

Series Interface

Series Members

DevExpress.Spreadsheet.Charts Namespace