IAnnotationPlacementStrategy
StockSharp.Xaml.Charting.StrategyManager
Definiert die Schnittstelle für Methoden, die es ermöglichen, Annotation zu platzieren
Methoden
GetBasePoints
public Point[] GetBasePoints(AnnotationCoordinates coordinates)
result = iAnnotationPlacementStrategy.GetBasePoints(coordinates)
Bekommt Basispunkte für Annotationsinstanz
- coordinates
IsInBounds
public bool IsInBounds(AnnotationCoordinates coordinates, IAnnotationCanvas annotationCanvas)
result = iAnnotationPlacementStrategy.IsInBounds(coordinates, annotationCanvas)
Prüft, ob Koordinaten innerhalb der Canvas-Grenzen liegen
- coordinates
- annotationCanvas
MoveAnnotationTo
public void MoveAnnotationTo(AnnotationCoordinates coordinates, double horizontalOffset, double verticalOffset, IAnnotationCanvas annotationCanvas)
iAnnotationPlacementStrategy.MoveAnnotationTo(coordinates, horizontalOffset, verticalOffset, annotationCanvas)
Verschiebt die Annotation zu einem bestimmten horizontalen und vertikalen Versatz
- coordinates
- horizontalOffset
- verticalOffset
- annotationCanvas
PlaceAnnotation
public void PlaceAnnotation(AnnotationCoordinates coordinates)
iAnnotationPlacementStrategy.PlaceAnnotation(coordinates)
Ortsbemerkung mit spezifischen Annotationskoordinaten
- coordinates
SetBasePoint
public void SetBasePoint(Point newPoint, int index)
iAnnotationPlacementStrategy.SetBasePoint(newPoint, index)
Setzt Basispunkt für Annotation
- newPoint
- index