PointLabelOptions.ContentType Property

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

Namespace: DevExpress.DashboardCommon

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

Declaration

[DefaultValue(PointLabelContentTypeEx.None)]
public PointLabelContentTypeEx ContentType { get; set; }
<DefaultValue(PointLabelContentTypeEx.None)>
Public Property ContentType As PointLabelContentTypeEx

Property Value

Type Default Description
PointLabelContentTypeEx

None

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

Property Paths

You can access this nested property as listed below:

Object Type Path to ContentType
ChartSeries
.PointLabelOptions.ContentType
HighLowCloseSeries
.PointLabelOptions.ContentType
OpenHighLowCloseSeries
.PointLabelOptions.ContentType
RangeSeries
.PointLabelOptions.ContentType
SimpleSeries
.PointLabelOptions.ContentType
WeightedSeries
.PointLabelOptions.ContentType

Remarks

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;
See Also