Export (0) Print
Expand All

Series.EmptyPointStyle Property

Gets or sets the drawing style of points marked as empty.

Namespace:  System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
[BindableAttribute(true)]
public DataPointCustomProperties EmptyPointStyle { get; set; }

The EmptyPointStyle property determines the drawing style of points marked as empty, for example, in the border color, in the marker images, background color or images, and so forth.

Certain properties are only applicable for specific chart types. For example, the BackImage() property does not apply to line charts, but does apply to an area chart.

To display an image that indicates an empty point, use the MarkerImage() and MarkerStyle() properties, and not the BackImage() property.

The AxisLabel property determines the axis label for empty points. Note that for stacked chart types, the axis label is determined by the AxisLabel property of the first plotted series that has this property set.

Data points can be manually marked as an empty by setting the IsEmpty property to true. Alternatively, one of the InsertEmptyPoints methods in the DataManipulator class can be used to check for missing data and insert empty points if a data point is missing.

NoteNote

In the case of line-type charts, the line color for lines that connect to an empty point is determined by the Color property setting.

.NET Framework

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Community Additions

ADD
Show:
© 2015 Microsoft