共用方式為


Series.EmptyPointStyle 屬性

定義

取得或設定標記為空的點的繪圖風格。

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

屬性值

點的繪圖風格標示為空。

屬性

備註

屬性 EmptyPointStyle 決定標記為空的點的繪圖風格,例如邊框顏色、標記圖像、背景色等。

某些屬性僅適用於特定類型的圖表。 例如,該 BackImage 性質不適用於折線圖,但適用於面積圖。

若要顯示顯示空點的圖片,請使用 MarkerImage and MarkerStyle 屬性,而非屬性 BackImage

性質 AxisLabel 決定了空點的軸標籤。 請注意,對於堆疊圖表類型,軸標籤是由 AxisLabel 第一個繪製序列中具有此性質的性質決定。

資料點可手動將屬性true設定IsEmpty為空。 或者,類別中的DataManipulator某一種InsertEmptyPoints方法可用來檢查缺少資料,若缺少資料點則插入空點。

備註

在線型圖中,連接空點線條的線條顏色由 Color 屬性設定決定。

適用於