BoxPlotSeriesView.MeanLineStyle Property
Specifies mean line style settings.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.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