CustomLabel クラス
定義
軸のカスタム ラベルを表します。Represents a custom label for an axis.
public ref class CustomLabel : System::Web::UI::DataVisualization::Charting::ChartNamedElement, System::Web::UI::DataVisualization::Charting::IChartMapArea
public class CustomLabel : System.Web.UI.DataVisualization.Charting.ChartNamedElement, System.Web.UI.DataVisualization.Charting.IChartMapArea
type CustomLabel = class
inherit ChartNamedElement
interface IChartMapArea
Public Class CustomLabel
Inherits ChartNamedElement
Implements IChartMapArea
- 継承
- 実装
注釈
CustomLabel オブジェクトはクラスに格納され CustomLabelsCollection ます。このクラスは、クラスのプロパティとして公開され CustomLabels Axis ます。CustomLabel objects are stored in the CustomLabelsCollection class, which is exposed as the CustomLabels property of the Axis class.
最初のラベル行の軸ラベルは、プロパティを使用してカスタムラベルを指定しない限り、自動的に生成され CustomLabels ます。Axis labels for the first label row are automatically generated unless custom labels are specified using the CustomLabels property. 最初のラベル行に沿ってカスタムラベルを指定した場合、最初の行全体に対して自動的に軸ラベルが生成されません。If you specify a custom label along the first label row, no axis labels will be automatically generated for the entire first row.
2番目のラベル行に使用できるのはカスタムラベルだけです。Only custom labels may be used for the second label row.
ToPositionプロパティと FromPosition プロパティは、ラベルを適用する軸の範囲を決定します。The ToPosition and FromPosition properties determine the axis range that the label applies to.
グリッド線または目盛りは、プロパティを使用してカスタム軸ラベルに表示できます GridTicks 。このプロパティは、ラベル範囲の中央にカスタムグリッド線または目盛りを描画するかどうかを指定します。A grid line and/or tick mark can be displayed for a custom axis label by using the GridTicks property; this property specifies whether a custom grid line or tick mark will be drawn in the middle of the label range.
コンストラクター
CustomLabel() |
CustomLabel クラスの新しいインスタンスを作成します。Creates a new instance of the CustomLabel class. |
CustomLabel(Double, Double, String, Int32, LabelMarkStyle) |
|
CustomLabel(Double, Double, String, Int32, LabelMarkStyle, GridTickTypes) |
|
プロパティ
Axis |
この CustomLabel オブジェクトが属する軸を取得します。Gets the axis that this CustomLabel object belongs to. |
ForeColor |
カスタム ラベルのテキストの色を取得または設定します。Gets or sets the text color of the custom label. |
FromPosition |
カスタム ラベルの開始位置 (軸の座標) を取得または設定します。Gets or sets the beginning position, in axis coordinates, of the custom label. |
GridTicks |
カスタムの目盛りとグリッド線がラベルの中央に描画されるかどうかを指定するプロパティを取得または設定します。Gets or sets a property that specifies whether custom tick marks and grid lines will be drawn in the center of the label. |
Image |
カスタム ラベル イメージを取得または設定します。Gets or sets the custom label image. |
ImageMapAreaAttributes |
カスタム ラベル イメージの領域属性を表す文字列を取得または設定します。Gets or sets a string that represents the area attributes of a custom label image. |
ImagePostBackValue |
Click イベントで処理できるポストバック値を取得または設定します。Gets or sets the postback value that can be processed on a Click event. |
ImageTransparentColor |
カスタム ラベル イメージが描画されるときに透明色で置き換えられる色を取得または設定します。Gets or sets a color that will be replaced with a transparent color when a custom label image is drawn. |
ImageUrl |
ラベル イメージの URL ターゲットを取得または設定します。Gets or sets the URL target of the label image. |
LabelMark |
カスタム ラベルのラベル マークを取得または設定します。Gets or sets the label mark for a custom label. これは 2 行目のラベルにのみ適用されます。This applies to labels in the second row only. |
MapAreaAttributes |
カスタム ラベルのマップ領域属性を取得または設定します (存在する場合)。Gets or sets the map area attributes, if any, of the custom label. |
MarkColor |
カスタム ラベルのマーカーの色を取得または設定します。Gets or sets the marker color for the custom label. |
Name |
カスタム ラベルの名前を取得または設定します。Gets or sets the name of the custom label. |
PostBackValue |
Click イベントで処理できるポストバック値を取得または設定します。Gets or sets the postback value that can be processed on a Click event. |
RowIndex |
カスタム ラベルの行インデックスを取得または設定します。Gets or sets the index of the custom label row. |
Tag |
このグラフ要素に関連付けられているオブジェクトを取得または設定します。Gets or sets an object associated with this chart element. (継承元 ChartElement) |
Text |
カスタム ラベルのテキストを取得または設定します。Gets or sets the custom label text. |
ToolTip |
カスタム ラベルのツールヒント テキストを取得または設定します。Gets or sets the custom label tooltip text. |
ToPosition |
カスタム ラベルの終了位置 (軸の座標) を取得または設定します。Gets or sets the end position of the custom label, in axis coordinates. |
Url |
カスタム ラベルのターゲット URL を取得または設定します。Gets or sets the target URL of the custom label. |
メソッド
Clone() |
複製されたラベル オブジェクトを返します。Returns a cloned label object. |
Dispose() |
ChartElement で使用したリソースを解放します。Releases the resources used by the ChartElement. (継承元 ChartElement) |
Dispose(Boolean) |
ChartElement によって使用されているアンマネージド リソースを解放し、オプションでマネージド リソースも解放します。Releases the unmanaged resources used by the ChartElement and optionally releases the managed resources. (継承元 ChartElement) |
Equals(Object) |
指定された Object が現在の ChartElement と等しいかどうかを判断します。Determines whether the specified Object is equal to the current ChartElement. (継承元 ChartElement) |
GetHashCode() |
特定の型のハッシュ関数を返します。Returns a hash function for a particular type. (継承元 ChartElement) |
GetType() |
現在のインスタンスの Type を取得します。Gets the Type of the current instance. (継承元 Object) |
MemberwiseClone() |
現在の Object の簡易コピーを作成します。Creates a shallow copy of the current Object. (継承元 Object) |
ToString() |
現在の Object を表す文字列を返します。Returns a string that represents the current Object. (継承元 ChartElement) |