Back to Devexpress

NumericAggregationScaleOptionsBase.ProcessMissingPoints Property

wpf-devexpress-dot-xpf-dot-charts-dot-numericaggregationscaleoptionsbase.md

latest3.3 KB
Original Source

NumericAggregationScaleOptionsBase.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.v25.2.dll

NuGet Package : DevExpress.Wpf.Charts

Declaration

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

Property Value

TypeDescription
ProcessMissingPointsMode

The value that defines how the Chart processes missing points.

|

Available values:

NameDescription
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

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

xaml
<dxc:ChartControl>
    <dxc:XYDiagram2D>
        <dxc:LineSeries2D>
            <dxc:SeriesPoint Argument="1" Value="42.45"/>
            <dxc:SeriesPoint Argument="2" Value="46.124"/>
            <dxc:SeriesPoint Argument="3" Value="40.622"/>
            <!--<dxc:SeriesPoint Argument="4" Value="43.723"/>-->
            <dxc:SeriesPoint Argument="5" Value="29.756"/>
            <dxc:SeriesPoint Argument="6" Value="35.2"/>
            <!--<dxc:SeriesPoint Argument="7" Value="34.123"/>-->
            <dxc:SeriesPoint Argument="8" Value="39.347"/>
            <dxc:SeriesPoint Argument="9" Value="42.589"/>
            <dxc:SeriesPoint Argument="10" Value="41.76"/>
            <dxc:SeriesPoint Argument="11" Value="42.124"/>
            <dxc:SeriesPoint Argument="12" Value="44.427"/>
        </dxc:LineSeries2D>
        <dxc:XYDiagram2D.AxisX>
            <dxc:AxisX2D>
                <dxc:AxisX2D.NumericScaleOptions>
                    <dxc:ManualNumericScaleOptions ProcessMissingPoints="InsertEmptyPoints"/>
                </dxc:AxisX2D.NumericScaleOptions>
            </dxc:AxisX2D>
        </dxc:XYDiagram2D.AxisX>
    </dxc:XYDiagram2D>
</dxc:ChartControl>

See Also

Empty Points

NumericAggregationScaleOptionsBase Class

NumericAggregationScaleOptionsBase Members

DevExpress.Xpf.Charts Namespace