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

LineEmptyPointOptions Class

Contains empty point options for line series and their descendants.

Namespace: DevExpress.Xpf.Charts

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

NuGet Package: DevExpress.Wpf.Charts

#Declaration

public class LineEmptyPointOptions :
    EmptyPointOptions

The following members return LineEmptyPointOptions objects:

#Remarks

The LineEmptyPointOptions class contains the LineStyle property that specifies line drawing options. These options are used to draw line segments that contain empty points.

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 line series.

This chart displays a line series with empty points.

Assign an LineEmptyPointOptions object to the LineSeries2D.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 line segments that display empty points.

<dxc:LineSeries2D DisplayName="Day Temperature" 
                  ArgumentDataMember="Date" 
                  ValueDataMember="DayTemperature">
    <dxc:LineSeries2D.EmptyPointOptions>
        <dxc:LineEmptyPointOptions ProcessPoints="Interpolate"
                                   Brush="#808080" >
            <dxc:LineEmptyPointOptions.LineStyle>
                <dxc:LineStyle Thickness="2">
                    <dxc:LineStyle.DashStyle>
                        <DashStyle Dashes="2 2"/>
                    </dxc:LineStyle.DashStyle>
                </dxc:LineStyle>
            </dxc:LineEmptyPointOptions.LineStyle>
        </dxc:LineEmptyPointOptions>
    </dxc:LineSeries2D.EmptyPointOptions>
</dxc:LineSeries2D>
See Also