All docs
V20.1
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

DateTimeAggregationScaleOptionsBase.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.v20.1.dll

Declaration

public ProcessMissingPointsMode ProcessMissingPoints { get; set; }
Public Property ProcessMissingPoints As ProcessMissingPointsMode

Property Value

Type Description
ProcessMissingPointsMode

The value that defines how the Chart processes missing points.

Remarks

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

Value Example
InsertEmptyPoints
InsertZeroValues
Skip (default)

Examples

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

<dxc:ChartControl>
    <dxc:XYDiagram2D>
        <dxc:LineSeries2D>
            <dxc:SeriesPoint Argument="2019/01/01" Value="42.45"/>
            <dxc:SeriesPoint Argument="2019/02/01" Value="46.124"/>
            <dxc:SeriesPoint Argument="2019/03/01" Value="40.622"/>
            <!--<dxc:SeriesPoint Argument="2019/04/01" Value="43.723"/>-->
            <dxc:SeriesPoint Argument="2019/05/01" Value="29.756"/>
            <dxc:SeriesPoint Argument="2019/06/01" Value="35.2"/>
            <!--<dxc:SeriesPoint Argument="2019/07/01" Value="34.123"/>-->
            <dxc:SeriesPoint Argument="2019/08/01" Value="39.347"/>
            <dxc:SeriesPoint Argument="2019/09/01" Value="42.589"/>
            <dxc:SeriesPoint Argument="2019/10/01" Value="41.76"/>
            <dxc:SeriesPoint Argument="2019/11/01" Value="42.124"/>
            <dxc:SeriesPoint Argument="2019/12/01" Value="44.427"/>
        </dxc:LineSeries2D>
        <dxc:XYDiagram2D.AxisX>
            <dxc:AxisX2D>
                <dxc:AxisX2D.DateTimeScaleOptions>
                    <dxc:ManualDateTimeScaleOptions ProcessMissingPoints="InsertEmptyPoints"/>
                </dxc:AxisX2D.DateTimeScaleOptions>
            </dxc:AxisX2D>
        </dxc:XYDiagram2D.AxisX>
    </dxc:XYDiagram2D>
</dxc:ChartControl>
See Also