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

AreaStackedSeries2D.EmptyPointOptions Property

Gets or sets options related to empty points of the stacked area series.

Namespace: DevExpress.Xpf.Charts

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

NuGet Package: DevExpress.Wpf.Charts

#Declaration

public AreaEmptyPointOptions EmptyPointOptions { get; set; }

#Property Value

Type Description
AreaEmptyPointOptions

Contains settings for empty points of a stacked area series.

#Remarks

Use the EmptyPointOptions property to access 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 point markers and empty areas.
  • Border – Specifies border settings for empty point areas.

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

#Example

The following example shows how to customize display options for empty points of a stacked area chart.

A stacked area chart with customized empty points.

<dxc:AreaStackedSeries2D DisplayName="Night Temperature" 
                       ArgumentDataMember="Date" 
                       ValueDataMember="NightTemperature"                         
                       Transparency="0.3" LabelsVisibility="True">
    <dxc:AreaStackedSeries2D.EmptyPointOptions>
        <dxc:AreaEmptyPointOptions ProcessPoints="Interpolate" 
                                   Brush="#50808080">
            <dxc:AreaEmptyPointOptions.Border>
                <dxc:SeriesBorder Brush="#808080">
                    <dxc:SeriesBorder.LineStyle>
                        <dxc:LineStyle Thickness="2">
                            <dxc:LineStyle.DashStyle>
                                <DashStyle Dashes="2 2"/>
                            </dxc:LineStyle.DashStyle>
                        </dxc:LineStyle>
                    </dxc:SeriesBorder.LineStyle>
                </dxc:SeriesBorder>
            </dxc:AreaEmptyPointOptions.Border>
        </dxc:AreaEmptyPointOptions>
    </dxc:AreaStackedSeries2D.EmptyPointOptions>
</dxc:AreaStackedSeries2D>
<dxc:AreaStackedSeries2D DisplayName="Day Temperature" 
                       ArgumentDataMember="Date" 
                       ValueDataMember="DayTemperature"                           
                       Transparency="0.3" LabelsVisibility="True">
    <dxc:AreaStackedSeries2D.EmptyPointOptions>
        <dxc:AreaEmptyPointOptions ProcessPoints="Interpolate" 
                                   Brush="#50808080">
            <dxc:AreaEmptyPointOptions.Border>
                <dxc:SeriesBorder Brush="#808080">
                    <dxc:SeriesBorder.LineStyle>
                        <dxc:LineStyle Thickness="2">
                            <dxc:LineStyle.DashStyle>
                                <DashStyle Dashes="2 2"/>
                            </dxc:LineStyle.DashStyle>
                        </dxc:LineStyle>
                    </dxc:SeriesBorder.LineStyle>
                </dxc:SeriesBorder>
            </dxc:AreaEmptyPointOptions.Border>
        </dxc:AreaEmptyPointOptions>
    </dxc:AreaStackedSeries2D.EmptyPointOptions>
</dxc:AreaStackedSeries2D>
See Also