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

SCIPieSeriesInfo

@interface SCIPieSeriesInfo<TRenderableSeries : id <ISCIPieRenderableSeries>>
    : 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 (readonly, nonatomic) TRenderableSeries _Nullable renderableSeries;

    Swift

    weak var renderableSeries: TRenderableSeries? { get }
  • A point snapped to the X-Y value of the series.

    Declaration

    Objective-C

    @property (readonly, nonatomic) CGPoint xyCoordinate;

    Swift

    var xyCoordinate: CGPoint { get }
  • The color of the renderable series associated with this series info.

    Declaration

    Objective-C

    @property (readonly, nonatomic) UIColor *_Nonnull segmentColor;

    Swift

    var segmentColor: UIColor { get }
  • The name of the ISCIPieSegment associated with this series info.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSString *_Nonnull segmentTitle;

    Swift

    var segmentTitle: String { get }
  • The value of the ISCIPieSegment associated with this series info.

    Declaration

    Objective-C

    @property (readonly, nonatomic) double segmentValue;

    Swift

    var segmentValue: Double { get }
  • The Segment Index at the hit-test site.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSInteger segmentIndex;

    Swift

    var segmentIndex: Int { get }
  • The value indicating whether the HitTest operation was a hit or not

    Declaration

    Objective-C

    @property (readonly, nonatomic) BOOL isHit;

    Swift

    var isHit: Bool { get }
  • Gets the value indicating whehter the parent renderable series is visible or not.

    Declaration

    Objective-C

    @property (readonly, nonatomic) BOOL isVisible;

    Swift

    var isVisible: Bool { get }
  • Creates a new instance of SCIPieSeriesInfo class.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithRenderableSeries:
        (nonnull TRenderableSeries)renderableSeries;

    Swift

    init(renderableSeries: TRenderableSeries)

    Parameters

    renderableSeries

    The parent renderable series.

  • Updates this series info with the latest values from renderable series.

    Declaration

    Objective-C

    - (void)update;

    Swift

    func update()