PointLabelOptions.ContentType Property

Gets or sets the type of content displayed within series point labels.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v18.1.Core.dll

Syntax

public PointLabelContentTypeEx ContentType { get; set; }

Returns

Type Description
PointLabelContentTypeEx

A PointLabelContentTypeEx enumeration value that specifies the type of content displayed within series point labels.

Note that the PointLabelContentTypeEx is a flags enumeration. This means that you can combine several values to display them within point labels. For instance, specify the ContentType property in the following way to display arguments and corresponding values within point labels for a newly created series:

using DevExpress.DashboardCommon;
// ...
SimpleSeries salesSeries = new SimpleSeries(SimpleSeriesType.Bar);
salesSeries.Value = new Measure("Sales");
salesSeries.PointLabelOptions.ContentType = PointLabelContentTypeEx.Argument | PointLabelContentTypeEx.Value;