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

ProcessEmptyPointsMode Enum

Lists values that specify how the chart control handles empty points.

Namespace: DevExpress.Xpf.Charts

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

NuGet Package: DevExpress.Wpf.Charts

#Declaration

public enum ProcessEmptyPointsMode

#Members

Name Description Image
InsertZero

The chart control initializes empty points with zero values.

ProcessEmptyPointsMode.InsertZero

Interpolate

The chart control initializes empty points with mock values calculated based on neighboring points.

ProcessEmptyPointsMode.Interpolate

Ignore

Empty points are skipped.

ProcessEmptyPointsMode.Ignore

#Related API Members

The following properties accept/return ProcessEmptyPointsMode values:

#Example

This example shows how to customize display options for empty points of a bar series.

This chart displays a bar series with empty points.

Assign an EmptyPointOptions object to the XYSeries2D.EmptyPointOptions property to customize empty point settings of the line series.

Specify the EmptyPointOptions.ProcessPoints property to define how the chart handles empty points. In this example, the chart calculates mock values for empty points.

Use the EmptyPointOptions.Brush property to paint bars that display empty points.

<dxc:BarSideBySideSeries2D DisplayName="Day Temperature" 
                  ArgumentDataMember="Date" 
                  ValueDataMember="DayTemperature">
    <dxc:BarSideBySideSeries2D.EmptyPointOptions>
        <dxc:EmptyPointOptions ProcessPoints="Interpolate"
                               Brush="#80808080" >      
        </dxc:EmptyPointOptions>
    </dxc:BarSideBySideSeries2D.EmptyPointOptions>
</dxc:BarSideBySideSeries2D>
See Also