GetCoordinates Method (AnnotationBase)
Gets an AnnotationCoordinates struct containing pixel coordinates to place or update the annotation in the current render pass
Syntax
protected AnnotationCoordinates GetCoordinates( IAnnotationCanvas canvas, ICoordinateCalculator<double> xCalc, ICoordinateCalculator<double> yCalc )
Parameters
- canvas
- The canvas the annotation will be placed on
- xCalc
- The current XAxis SciChart.Charting.Numerics.CoordinateCalculators.ICoordinateCalculator<T> to perform data to pixel transformations
- yCalc
- The current YAxis SciChart.Charting.Numerics.CoordinateCalculators.ICoordinateCalculator<T> to perform data to pixel transformations
Return Value
The AnnotationCoordinates struct containing pixel coordinates
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also