iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x

SCIAnnotationCoordinates

@interface SCIAnnotationCoordinates : NSObject <ISCICleanable>

Used internally by the Annotation API. Class to hold transformed coordinates for placement of an annotation on the chart.

  • pt1

    Defines the coordinates for X1, Y1 values.

    Declaration

    Objective-C

    @property (nonatomic) CGPoint pt1;
  • pt2

    Defines the coordinates for X2, Y2 values.

    Declaration

    Objective-C

    @property (nonatomic) CGPoint pt2;
  • Offsets provided by ISCICoordinateCalculator for X-Axis and Y-Axis.

    Declaration

    Objective-C

    @property (nonatomic) CGPoint offset;
  • Rect with bounds for parent annotation surface.

    Declaration

    Objective-C

    @property (nonatomic) CGRect annotationsSurfaceBounds;
  • Checks if the point is within the bound of the current SCIAnnotationCoordinates

    Declaration

    Objective-C

    - (BOOL)containsPoint:(CGPoint)point;

    Parameters

    point

    The point to test.

    Return Value

    YES - if the point is within bounds.