Skip to main content
All docs
V24.1

XYSeries2D.EmptyPointOptions Property

Returns options related to empty points of the series.

Namespace: DevExpress.Xpf.Charts

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

NuGet Package: DevExpress.Wpf.Charts

Declaration

public EmptyPointOptions EmptyPointOptions { get; set; }

Property Value

Type Description
EmptyPointOptions

Contains settings for series empty points.

Remarks

Initialize the EmptyPointOptions property with an EmptyPointOptions object to specify the following empty point settings:

  • ProcessPoints – Defines how to handle empty points (for example, the chart control can automatically populate empty points with zero values).
  • Brush – Specifies the brush that is used to paint empty points, empty point markers (for line and area series), and empty areas (for area series).

Refer to the following help topic for more information: Empty Points.

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