LabelStyle 類別

定義

提供定義座標軸標籤視覺外觀的屬性。

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

備註

這個類別的成員也可用來計算座標軸標籤的間隔和位置,以及繪製它們。

建構函式

LabelStyle()

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

屬性

Angle

取得或設定值,這個值表示繪製字型所使用的角度。

Enabled

取得或設定旗標,指出是否已啟用標籤。

Font

取得或設定標籤的字型。

ForeColor

取得或設定標籤的色彩。

Format

取得或設定標籤文字的格式化字串。

Interval

取得或設定標籤間隔的大小。

IntervalOffset

取得或設定標籤間隔的位移。

IntervalOffsetType

取得或設定標籤間隔位移的測量單位。

IntervalType

取得或設定標籤間隔大小的測量單位。

IsEndLabelVisible

取得或設定旗標,決定是否在座標軸結尾顯示標籤。

IsStaggered

取得或設定旗標,決定是否利用位移顯示標籤。

Tag

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

(繼承來源 ChartElement)
TruncatedLabels

取得或設定旗標,決定是否可以截斷標籤。

方法

Dispose()

釋放 ChartElement 使用的資源。

(繼承來源 ChartElement)
Dispose(Boolean)

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

Equals(Object)

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

(繼承來源 ChartElement)
GetHashCode()

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

(繼承來源 ChartElement)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回表示目前 Object 的字串。

(繼承來源 ChartElement)

適用於