DataPointCustomProperties 類別

定義

表示資料點、數列和空點通用的自訂屬性。

public ref class DataPointCustomProperties : System::Web::UI::DataVisualization::Charting::ChartNamedElement, System::Web::UI::DataVisualization::Charting::IChartMapArea
[System.ComponentModel.TypeConverter("System.Web.UI.Design.DataVisualization.Charting.DataPointCustomPropertiesConverter, System.Web.DataVisualization.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")]
public class DataPointCustomProperties : System.Web.UI.DataVisualization.Charting.ChartNamedElement, System.Web.UI.DataVisualization.Charting.IChartMapArea
[<System.ComponentModel.TypeConverter("System.Web.UI.Design.DataVisualization.Charting.DataPointCustomPropertiesConverter, System.Web.DataVisualization.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")>]
type DataPointCustomProperties = class
    inherit ChartNamedElement
    interface IChartMapArea
Public Class DataPointCustomProperties
Inherits ChartNamedElement
Implements IChartMapArea
繼承
DataPointCustomProperties
衍生
屬性
實作

備註

這個類別會定義自訂屬性,例如色彩、背景影像的使用、影線等等。

類別 SeriesDataPoint 類別和 EmptyPointStyle 屬性都是衍生自這個類別。

建構函式

DataPointCustomProperties()

初始化 DataPointCustomProperties 類別的新執行個體。

DataPointCustomProperties(Series, Boolean)

初始化 DataPointCustomProperties 類別的新執行個體。

屬性

AxisLabel

取得或設定資料點、數列或空點之 X 軸標籤的文字。 這個屬性只有在尚未針對相關的 Axis 物件指定自訂標籤時才能使用。

BackGradientStyle

取得或設定背景漸層樣式。

BackHatchStyle

取得或設定背景影線樣式。

BackImage

取得或設定資料點的背景影像。

BackImageAlignment

取得或設定搭配 Unscaled 繪製模式使用之背景影像的對齊方式。

BackImageTransparentColor

取得或設定繪製背景影像時,會被透明色彩取代的色彩。

BackImageWrapMode

取得或設定背景影像的繪製模式。

BackSecondaryColor

取得或設定次要背景色彩。

BorderColor

取得或設定資料點的框線色彩。

BorderDashStyle

取得或設定資料點的框線樣式。

BorderWidth

取得或設定資料點的框線寬度。

Color

取得或設定資料點的色彩。

CustomProperties

取得或設定資料點的自訂屬性。 您可使用下列格式來指定自訂屬性:AttrName1=Value1, AttrName2=Value2, …

CustomPropertiesExtended

取得或設定資料點的擴充自訂屬性。

Font

取得或設定資料點的字型。

IsValueShownAsLabel

取得或設定旗標,這個旗標表示是否要在標籤上顯示資料點的值。

IsVisibleInLegend

取得或設定旗標,這個旗標表示項目是否會顯示在圖例中。

Item[Int32]

依據集合中的位置取得 DataPointCustomProperties 物件。

Item[String]

依名稱取得或設定 DataPointCustomProperties 物件。

Label

取得或設定資料點標籤的文字。

LabelAngle

取得或設定資料點標籤的角度。

LabelBackColor

取得或設定資料點標籤的背景色彩。

LabelBorderColor

取得或設定資料點標籤的框線色彩。

LabelBorderDashStyle

取得或設定標籤的框線樣式。

LabelBorderWidth

取得或設定標籤框線的寬度。

LabelForeColor

取得或設定標籤的文字色彩。

LabelFormat

取得或設定資料點標籤的格式。

LabelMapAreaAttributes

取得或設定資料點標籤的對應區域屬性。

LabelPostBackValue

取得或設定可在 Click 事件上處理的回傳值。

LabelToolTip

取得或設定資料點標籤的工具提示。

LabelUrl

取得或設定資料點標籤的 URL 目標。

LegendMapAreaAttributes

取得或設定圖例對應區域的屬性。

LegendPostBackValue

取得或設定可在 Click 事件上處理的回傳值。

LegendText

取得或設定圖例中項目的文字。

LegendToolTip

取得或設定圖例中項目的工具提示。

LegendUrl

取得或設定圖例中項目的 URL 目標。

MapAreaAttributes

取得或設定資料點的對應區域屬性。

MarkerBorderColor

取得或設定標記的框線色彩。

MarkerBorderWidth

取得或設定標記的框線寬度。

MarkerColor

取得或設定標記色彩。

MarkerImage

取得或設定標記影像。

MarkerImageTransparentColor

取得或設定繪製標記影像時,會以透明色彩取代的色彩。

MarkerSize

取得或設定標記的大小。

MarkerStyle

取得或設定標記樣式。

Name

取得或設定圖表項目的名稱。

(繼承來源 ChartNamedElement)
PostBackValue

取得或設定可在 Click 事件上處理的回傳值。

Tag

取得或設定與這個圖表項目關聯的物件。

(繼承來源 ChartElement)
ToolTip

取得或設定資料點的工具提示。

Url

取得或設定區域的 URL 目標。

方法

DeleteCustomProperty(String)

刪除具有指定名稱的資料點自訂屬性。

Dispose()

釋放 ChartElement 使用的資源。

(繼承來源 ChartElement)
Dispose(Boolean)

釋放 ChartElement 所使用的 Unmanaged 資源,並選擇性地釋放 Managed 資源。

(繼承來源 ChartElement)
Equals(Object)

判斷指定的 Object 是否等於目前的 ChartElement

(繼承來源 ChartElement)
GetCustomProperty(String)

傳回具有指定名稱的資料點自訂屬性。

GetHashCode()

傳回特定型別的雜湊函式。

(繼承來源 ChartElement)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
IsCustomPropertySet(String)

判斷是否已設定具有指定名稱的資料點自訂屬性。

MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ResetIsValueShownAsLabel()

重設 IsValueShownAsLabel 屬性為其預設值。

ResetIsVisibleInLegend()

重設 IsVisibleInLegend 屬性為其預設值。

SetCustomProperty(String, String)

設定資料點的自訂屬性。

SetDefault(Boolean)

設定資料點的預設屬性。 表示是否必須清除先前的屬性值。

ToString()

傳回表示目前 Object 的字串。

(繼承來源 ChartElement)

適用於