All docs
V21.2
21.2
21.1
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

BoxPlotSeriesView.MeanLineStyle Property

Specifies mean line style settings.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v21.2.dll

Declaration

[PersistenceMode(PersistenceMode.InnerProperty)]
[XtraChartsLocalizableCategory(XtraChartsCategory.Appearance)]
public LineStyle MeanLineStyle { get; }

Property Value

Type Description
LineStyle

Contains mean line style settings.

Remarks

See the following help topic for more information about line style settings: LineStyle.

The code below changes the mean line thickness and dash style:

Series boxPlotSeries = chartControl1.Series[0];
BoxPlotSeriesView boxPlotView = (BoxPlotSeriesView)boxPlotSeries.View;
boxPlotView.MeanLineVisible = true;
boxPlotView.MeanLineStyle.Thickness = 2;
boxPlotView.MeanLineStyle.DashStyle = DashStyle.Dash;

Result:

See Also