Skip to main content

AreaSeriesView.InterpolationMode Property

Specifies the area view’s interpolation mode that defines how to connect series points.

Namespace: DevExpress.WinUI.Charts

Assembly: DevExpress.WinUI.Charts.v23.2.dll

NuGet Package: DevExpress.WinUI

#Declaration

[DP(InterpolationMode.Line, Handler = "ViewTypeChanged")]
public InterpolationMode InterpolationMode { get; set; }

#Property Value

Type Description
InterpolationMode

A value that defines the interpolation mode applied to the series view.

Available values:

Name Description Image
Line

Series points are connected by lines.

Line interpolation mode

Step

Series points are connected by step lines.

Step interpolation mode

#Remarks

The following example shows how to use the InterpolationMode property to draw a Step Area chart:

Step area chart

<Charts:CartesianChart>
    <Charts:CartesianChart.Series>
        <Charts:Series x:Name="seriesDevAVNorth" 
                       DisplayName="Sales (DevAV North)">
            <Charts:Series.View>
                <Charts:AreaSeriesView ShowMarkers="True" 
                                       InterpolationMode="Step" 
                                       ShowContour="True"/>
            </Charts:Series.View>
            <Charts:Series.Data>
                <Charts:DataSource PointSource="{Binding DataPoints}"
                                   ArgumentDataMember="Date" 
                                   ValueDataMember="Total"/>
            </Charts:Series.Data>
        </Charts:Series>
    </Charts:CartesianChart.Series>
    <!--...-->
</Charts:CartesianChart>
See Also