Skip to main content

ChartOptions.ShowDataLabelsOverMax Property

Gets or sets a value indicating whether to display data labels for data points whose values are greater than the maximum value of the value axis.

Namespace: DevExpress.Spreadsheet.Charts

Assembly: DevExpress.Spreadsheet.v24.1.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

bool ShowDataLabelsOverMax { get; set; }

Property Value

Type Description
Boolean

true, to show data labels for values greater than the maximum value on the axis; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to ShowDataLabelsOverMax
ChartObject
.Options .ShowDataLabelsOverMax

Remarks

If the AxisScaling.Max property of the value axis is set to the value that is less than the size of data points plotted on a chart, you can display data labels for these points to indicate their values by setting the ShowDataLabelsOverMax property to true. Note that this property takes effect for the two-dimensional charts only when all data labels are displayed on a chart (the DataLabelBase.ShowValue property is true).

The following images demonstrate how the ShowDataLabelsOverMax property works (the chart is displayed in Microsoft® Excel®).

ShowDataLabelsOverMax = false ShowDataLabelsOverMax = true
ShowLabelsOverMaxFalse ShowLabelsOverMaxTrue

Note

The ShowDataLabelsOverMax property has no effect on the visual appearance of a chart when the document is loaded in the SpreadsheetControl. However, this property can be accessed in code, exported in supported formats and visualized in Microsoft® Excel®.

See Also