CalloutAnnotation 類別

定義

表示註標註解。

public ref class CalloutAnnotation : System::Web::UI::DataVisualization::Charting::TextAnnotation
public class CalloutAnnotation : System.Web.UI.DataVisualization.Charting.TextAnnotation
type CalloutAnnotation = class
    inherit TextAnnotation
Public Class CalloutAnnotation
Inherits TextAnnotation
繼承

備註

圖說文字批註是唯一可繪製批註位置與錨點之間的連接批註。 這個類別也可以顯示文字,並自動計算其所需的大小。

支援不同的圖說文字樣式。

建構函式

CalloutAnnotation()

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

屬性

Alignment

取得或設定註釋的內容對齊方式。

(繼承來源 Annotation)
AnchorAlignment

取得或設定註解對齊錨點的位置。

AnchorDataPoint

取得或設定註釋錨定的資料點。

(繼承來源 Annotation)
AnchorDataPointName

取得或設定註釋錨定的資料點名稱。

(繼承來源 Annotation)
AnchorOffsetX

取得或設定註解 X 位置距錨點的位移。

AnchorOffsetY

取得或設定註解 Y 位置距錨點的位移。

AnchorX

取得或設定註釋錨定的 X 座標。

(繼承來源 Annotation)
AnchorY

取得或設定註釋錨定的 Y 座標。

(繼承來源 Annotation)
AnnotationGroup

取得註釋所屬的群組 (如果有的話)。

(繼承來源 Annotation)
AnnotationType

取得或設定註解類型名稱。 不應該在內部使用。

AxisX

取得或設定註釋所連接的 X 軸。

(繼承來源 Annotation)
AxisXName

取得或設定附加註釋的 X 軸名稱。

(繼承來源 Annotation)
AxisY

取得或設定註釋所連接的 Y 軸。

(繼承來源 Annotation)
AxisYName

取得或設定註釋所連接的 Y 軸名稱。

(繼承來源 Annotation)
BackColor

取得或設定註解的背景色彩。

BackGradientStyle

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

BackHatchStyle

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

BackSecondaryColor

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

Bottom

取得或設定註釋位置的下界限。

(繼承來源 Annotation)
CalloutAnchorCap

取得或設定註標線的錨點端點樣式。

CalloutStyle

取得或設定註解標註的樣式。

ClipToChartArea

取得或設定註釋所依附之圖表區域的名稱。

(繼承來源 Annotation)
Font

取得或設定註解文字的字型。

(繼承來源 TextAnnotation)
ForeColor

取得或設定註釋的文字色彩。

(繼承來源 Annotation)
Height

取得或設定註釋的高度。

(繼承來源 Annotation)
IsMultiline

取得或設定旗標,這個旗標表示註解文字是否為多行。

(繼承來源 TextAnnotation)
IsSelected

取得或設定旗標,這個旗標會判斷是否已選取註釋。

(繼承來源 Annotation)
IsSizeAlwaysRelative

取得或設定旗標,這個旗標會指定是否一律以相對圖表座標來定義註解的大小。

(繼承來源 Annotation)
LineColor

取得或設定註解的線條色彩。

LineDashStyle

取得或設定註解的線條樣式。

LineWidth

取得或設定註解的線條寬度。

MapAreaAttributes

取得或設定註釋的對應區域屬性。

(繼承來源 Annotation)
Name

取得或設定註釋的唯一名稱。

(繼承來源 Annotation)
PostBackValue

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

(繼承來源 Annotation)
Right

取得或設定註釋的右界限位置。

(繼承來源 Annotation)
ShadowColor

取得或設定註釋陰影的色彩。

(繼承來源 Annotation)
ShadowOffset

取得或設定註釋的陰影大小。

(繼承來源 Annotation)
SmartLabelStyle

取得或設定註釋智慧標籤的樣式。

(繼承來源 Annotation)
Tag

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

(繼承來源 ChartElement)
Text

取得或設定註解的文字。

(繼承來源 TextAnnotation)
TextStyle

取得或設定註釋的文字樣式。

(繼承來源 Annotation)
ToolTip

取得或設定註解工具提示的文字。

(繼承來源 Annotation)
Url

取得或設定註釋的 URL。

(繼承來源 Annotation)
Visible

取得或設定旗標,指定是否顯示註釋。

(繼承來源 Annotation)
Width

取得或設定註解的寬度 (以像素為單位)。

(繼承來源 Annotation)
X

取得或設定註解的 X 座標。

(繼承來源 Annotation)
Y

取得或設定註釋的 Y 座標。

(繼承來源 Annotation)
YAxisName

取得或設定註釋所連接的 Y 軸名稱。

(繼承來源 Annotation)

方法

BringToFront()

將某一註釋置於所有註釋的最前面。

(繼承來源 Annotation)
Dispose()

釋放 ChartElement 使用的資源。

(繼承來源 ChartElement)
Dispose(Boolean)

釋放 Unmanaged 資源並選擇性釋放 Managed 資源。

(繼承來源 Annotation)
Equals(Object)

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

(繼承來源 ChartElement)
GetHashCode()

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

(繼承來源 ChartElement)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ResizeToContent()

根據註釋內容大小調整註釋大小。

(繼承來源 Annotation)
SendToBack()

將某一註釋置於所有註釋的最後面。

(繼承來源 Annotation)
SetAnchor(DataPoint)

將註釋錨定到指定的資料點。

(繼承來源 Annotation)
SetAnchor(DataPoint, DataPoint)

將註釋錨定至兩個資料點。

(繼承來源 Annotation)
ToString()

傳回表示目前 Object 的字串。

(繼承來源 ChartElement)

適用於