
iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCIPieHitTestInfo
@interface SCIPieHitTestInfo : NSObject <ISCIHitTestInfo>
Defines a hit test info class which provides information on a series hit-test
operation for pie series.
-
The point where hit test is performed.
Declaration
Objective-C
@property (nonatomic) CGPoint hitTestPoint;
-
The value indicating whether the HitTest operation was a hit or not
Declaration
Objective-C
@property (nonatomic) BOOL isHit;
-
The index of hit test point in associated
SCIPieSegmentCollection
.Declaration
Objective-C
@property (nonatomic) NSInteger segmentIndex;
-
Sets the hit test info values.
Declaration
Objective-C
- (void)setPoint:(CGPoint)point segmentIndex:(NSInteger)segmentIndex;
Parameters
point
The coordinate of hit test point.
segmentIndex
The index of hit test point in associated
SCIPieSegmentCollection