IChartModifier
StockSharp.Xaml.Charting.ChartModifiers
インターフェイスをChartModifierBaseに定義します。UltrachartSurfaceの相互作用またはレンダリングを拡張するために使用できる
実装: IChartModifierBase, IReceiveMouseEvents, INotifyPropertyChanged
プロパティ
ParentSurface
public IUltrachartSurface ParentSurface { get; set; }
value = iChartModifier.ParentSurface
iChartModifier.ParentSurface = value
親UltrachartSurfaceを受け取り、操作を行います。
XAxis
public IAxis XAxis { get; }
value = iChartModifier.XAxis
親 UltrachartSurface で XAxis IAxis インスタンスを取得する
YAxes
public IEnumerable<IAxis> YAxes { get; }
value = iChartModifier.YAxes
親 UltrachartSurface に YAxes を返す
メソッド
GetYAxis
public IAxis GetYAxis(string axisId)
result = iChartModifier.GetYAxis(axisId)
指定したIDで、親@UltrachartSurfaceにYAxis IAxisインスタンスを取得します。
- axisId
- 軸のIdが得られる
戻り値: Axisインスタンス
IsPointWithinBounds
public bool IsPointWithinBounds(Point mousePoint, IHitTestable hitTestable)
result = iChartModifier.IsPointWithinBounds(mousePoint, hitTestable)
マウスポイントがヒットテスト可能な要素の境界内にあるかどうかを取得します。マウスポイントが翻訳されていないと仮定します(翻訳のパーフォーム)
- mousePoint
- hitTestable
OnAnnotationCollectionChanged
public void OnAnnotationCollectionChanged(object sender, NotifyCollectionChangedEventArgs args)
iChartModifier.OnAnnotationCollectionChanged(sender, args)
AnnotationCollection変更時に呼び出される
OnXAxesCollectionChanged
public void OnXAxesCollectionChanged(object sender, NotifyCollectionChangedEventArgs args)
iChartModifier.OnXAxesCollectionChanged(sender, args)
XAxes AxisCollection の変更を呼び出される
OnYAxesCollectionChanged
public void OnYAxesCollectionChanged(object sender, NotifyCollectionChangedEventArgs args)
iChartModifier.OnYAxesCollectionChanged(sender, args)
XAxes AxisCollection の変更を呼び出される
ResetInertia
public void ResetInertia()
iChartModifier.ResetInertia()
直ちにこの修飾子に関連付けられることができる不活性物質を停止します。