Rediger

Del via


Series.EmptyPointStyle Property

Definition

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

public:
 property System::Windows::Forms::DataVisualization::Charting::DataPointCustomProperties ^ EmptyPointStyle { System::Windows::Forms::DataVisualization::Charting::DataPointCustomProperties ^ get(); void set(System::Windows::Forms::DataVisualization::Charting::DataPointCustomProperties ^ value); };
[System.ComponentModel.Bindable(true)]
public System.Windows.Forms.DataVisualization.Charting.DataPointCustomProperties EmptyPointStyle { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.EmptyPointStyle : System.Windows.Forms.DataVisualization.Charting.DataPointCustomProperties with get, set
Public Property EmptyPointStyle As DataPointCustomProperties

Property Value

The drawing style of points marked as empty.

Attributes

Remarks

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.

Note

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.

Applies to