iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCIPieSeriesInfo
@interface SCIPieSeriesInfo : NSObject <ISCIPieHitTestInfoUpdatable>
Defines a class which contains information about a series based on SCIPieHitTestInfo values.
TRenderableSeries - The type of parent renderable series
-
The parent renderable series
Declaration
Objective-C
@property (nonatomic, weak, readonly) id<ISCIPieRenderableSeries> _Nullable renderableSeries;Swift
weak var renderableSeries: (any ISCIPieRenderableSeries)? { get } -
A point snapped to the X-Y value of the series.
Declaration
Objective-C
@property (nonatomic, readonly) CGPoint xyCoordinate;Swift
var xyCoordinate: CGPoint { get } -
The color of the renderable series associated with this series info.
Declaration
Objective-C
@property (nonatomic, readonly) UIColor *_Nonnull segmentColor;Swift
var segmentColor: UIColor { get } -
The name of the
ISCIPieSegmentassociated with this series info.Declaration
Objective-C
@property (nonatomic, readonly) NSString *_Nonnull segmentTitle;Swift
var segmentTitle: String { get } -
The value of the
ISCIPieSegmentassociated with this series info.Declaration
Objective-C
@property (nonatomic, readonly) double segmentValue;Swift
var segmentValue: Double { get } -
The Segment Index at the hit-test site.
Declaration
Objective-C
@property (nonatomic, readonly) NSInteger segmentIndex;Swift
var segmentIndex: Int { get } -
The value indicating whether the HitTest operation was a hit or not
Declaration
Objective-C
@property (nonatomic, readonly) BOOL isHit;Swift
var isHit: Bool { get } -
Gets the value indicating whehter the parent renderable series is visible or not.
Declaration
Objective-C
@property (nonatomic, readonly) BOOL isVisible;Swift
var isVisible: Bool { get } -
Creates a new instance of
SCIPieSeriesInfoclass.Declaration
Objective-C
- (nonnull instancetype)initWithRenderableSeries: (nonnull id<ISCIPieRenderableSeries>)renderableSeries;Swift
init(renderableSeries: any ISCIPieRenderableSeries)Parameters
renderableSeriesThe parent renderable series.
-
Updates this series info with the latest values from renderable series.
Declaration
Objective-C
- (void)update;Swift
func update()
View on GitHub