Skip to main content

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

TimeSpanAggregationScaleOptionsBase.ProcessMissingPoints Property

Gets or sets a mode which specifies the action the chart control should perform with the missing points.

Namespace: DevExpress.Xpf.Charts

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

NuGet Package: DevExpress.Wpf.Charts

#Declaration

public ProcessMissingPointsMode ProcessMissingPoints { get; set; }

#Property Value

Type Description
ProcessMissingPointsMode

The value that defines how the Chart processes missing points.

Available values:

Name Description
Skip

Skips missing points in all chart series.

InsertZeroValues

Inserts zero value points into series where there are gaps in series points.

InsertEmptyPoints

Inserts empty points into all chart series where there are gaps in series points.

#Remarks

The following table lists values you can use to specify ProcessMissingPoints:

Value Example
InsertEmptyPoints
InsertZeroValues
Skip (default)

#Example

This example uses the TimeSpanAggregationScaleOptionsBase.ProcessMissingPoints property to specify how missing points are handled.

<dxc:ChartControl>
    <dxc:XYDiagram2D>
        <dxc:LineSeries2D>
            <dxc:SeriesPoint Argument="0.00:00:00" Value="42.45"/>
            <dxc:SeriesPoint Argument="0.01:00:00" Value="46.124"/>
            <dxc:SeriesPoint Argument="0.02:00:00" Value="40.622"/>
            <!--<dxc:SeriesPoint Argument="0.03:00:00" Value="43.723"/>-->
            <dxc:SeriesPoint Argument="0.04:00:00" Value="29.756"/>
            <dxc:SeriesPoint Argument="0.05:00:00" Value="35.2"/>
            <!--<dxc:SeriesPoint Argument="0.06:00:00" Value="34.123"/>-->
            <dxc:SeriesPoint Argument="0.07:00:00" Value="39.347"/>
            <dxc:SeriesPoint Argument="0.08:00:00" Value="42.589"/>
            <dxc:SeriesPoint Argument="0.09:00:00" Value="41.76"/>
            <dxc:SeriesPoint Argument="0.10:00:00" Value="42.124"/>
            <dxc:SeriesPoint Argument="0.11:00:00" Value="44.427"/>
        </dxc:LineSeries2D>
        <dxc:XYDiagram2D.AxisX>
            <dxc:AxisX2D>
                <dxc:AxisX2D.TimeSpanScaleOptions>
                    <dxc:ManualTimeSpanScaleOptions ProcessMissingPoints="InsertEmptyPoints"/>
                </dxc:AxisX2D.TimeSpanScaleOptions>
            </dxc:AxisX2D>
        </dxc:XYDiagram2D.AxisX>
    </dxc:XYDiagram2D>
</dxc:ChartControl>
See Also