VerticalLineAnnotation
StockSharp.Xaml.Charting.Visuals.Annotations
A class for VerticalLineAnnotation
継承元: LineAnnotationWithLabelsBase
コンストラクター
VerticalLineAnnotation
public VerticalLineAnnotation()
verticalLineAnnotation = VerticalLineAnnotation()
VerticalLineAnnotation@ の新規インスタンスを作成します。
プロパティ
LabelsOrientation
public Orientation LabelsOrientation { get; set; }
value = verticalLineAnnotation.LabelsOrientation
verticalLineAnnotation.LabelsOrientation = value
ラベルが縦か横に置かれるかどうかを示す価値を、得ますまたは置きます
VerticalAlignment
public VerticalAlignment VerticalAlignment { get; set; }
value = verticalLineAnnotation.VerticalAlignment
verticalLineAnnotation.VerticalAlignment = value
VerticalLineAnnotationのドッキングやセット
メソッド
ApplyPlacement
protected override void ApplyPlacement(AnnotationLabel label, LabelPlacement placement)
verticalLineAnnotation.ApplyPlacement(label, placement)
LabelPlacementの値をAnnotationLabelに位置付けます
- label
- ラベルを配置する
- placement
- 配置引数
Attach
protected override void Attach(AnnotationLabel label)
verticalLineAnnotation.Attach(label)
社内でAnnotationLabelを現在のインスタンスに添付
- label
- The AnnotationLabel to attach
GetPropertiesFromIndex
protected override void GetPropertiesFromIndex(int index, DependencyProperty x, DependencyProperty y)
verticalLineAnnotation.GetPropertiesFromIndex(index, x, y)
内部でX1Property、Y1Property、X1Property、Y2Propertyペアを、アノテーションの周りの特定のインデックスに導きます。 e.g。 インデックス0はX1、Y1インデックス1を返しますX2、Y1インデックス2はX2、Y2インデックス3リターンX1、Y2
- index
- インデックス
- x
- X座標依存性プロパティ、X1Property または X2Property のいずれか
- y
- Y座標依存性プロパティ、Y1Property または Y2Property のいずれか
GetSelectedCursor
protected override Cursor GetSelectedCursor()
result = verticalLineAnnotation.GetSelectedCursor()
選択した時に注釈に使用するCursorを取得します
GetUsedAxis
public override IAxis GetUsedAxis()
result = verticalLineAnnotation.GetUsedAxis()
現行のアノテーションがデータ値を示す軸を返します。
SetBasePoint
protected override void SetBasePoint(Point newPoint, int index, IAxis xAxis, IAxis yAxis)
verticalLineAnnotation.SetBasePoint(newPoint, index, xAxis, yAxis)
内部で呼び出されると、X1、Y1、X2、Y2 値にマーシャルピクセルポイントを割り当てます。ピクセルポイント()とベースポイントをとり、X、Y データ値を設定します。
- newPoint
- ピクセルポイント
- index
- ベースポイント指数は、0, 1, 2, 3 は、アノテーションの4つの角を参照します
- xAxis
- 現在のX軸
- yAxis
- 現在のY軸
フィールド
LabelsOrientationProperty
public static readonly DependencyProperty LabelsOrientationProperty
value = VerticalLineAnnotation.LabelsOrientationProperty
LabelDirection プロパティを定義する
VerticalAlignmentProperty
public static readonly DependencyProperty VerticalAlignmentProperty
value = VerticalLineAnnotation.VerticalAlignmentProperty
VerticalAlignment プロパティを定義する