Skip to main content
A newer version of this page is available. .
All docs
V20.2

BoxPlotSeriesView.MeanLineStyle Property

Specifies mean line style settings.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.2.dll

NuGet Packages: DevExpress.Charts, DevExpress.WindowsDesktop.Charts

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