Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BoxPlotSeries2D.MeanLineStyle Property

Specifies mean line style settings.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v24.2.dll

NuGet Package: DevExpress.Wpf.Charts

#Declaration

public LineStyle MeanLineStyle { get; set; }

#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 markup below changes the mean line thickness and dash style:

<dxc:BoxPlotSeries2D ... MeanLineVisible="True">
    <dxc:BoxPlotSeries2D.MeanLineStyle>
        <dxc:LineStyle Thickness="2" DashCap="Flat">
            <dxc:LineStyle.DashStyle>
                <DashStyle Dashes="2 1 5 1"/>
            </dxc:LineStyle.DashStyle>
        </dxc:LineStyle>
    </dxc:BoxPlotSeries2D.MeanLineStyle>
</dxc:BoxPlotSeries2D>                    

Result:

See Also