Series.EmptyPointStyle 屬性

定義

取得或設定標示為空資料點之資料點的繪製樣式。

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

屬性值

DataPointCustomProperties 物件。

屬性

備註

屬性 EmptyPointStyle 會決定標示為空白的點繪製樣式,例如框線色彩、標記影像、背景色彩或影像等等。

特定屬性僅適用于特定圖表類型。 例如, BackImage 屬性不適用於折線圖,但會套用至區域圖。

若要顯示表示空白點的影像,請使用 MarkerImageMarkerStyle 屬性,而不是 BackImage 屬性。

屬性 AxisLabel 會決定空點的座標軸標籤。 請注意,對於堆疊圖表類型,軸標籤是由 AxisLabel 已設定此屬性之第一個繪圖數列的 屬性所決定。

將資料點設定 IsEmptytrue 為 ,即可手動標示為空白。 或者,類別中的 DataManipulator 其中 InsertEmptyPoints 一個方法可用來檢查遺漏的資料,並在資料點遺失時插入空白點。

注意

在折線圖的案例中,連接到空白點之線條的 Color 折線色彩是由 屬性設定所決定。

適用於