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;
  • A point snapped to the X-Y value of the series.

    Declaration

    Objective-C

    @property (nonatomic, readonly) CGPoint xyCoordinate;
  • The color of the renderable series associated with this series info.

    Declaration

    Objective-C

    @property (nonatomic, readonly) UIColor *_Nonnull segmentColor;
  • The name of the ISCIPieSegment associated with this series info.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSString *_Nonnull segmentTitle;
  • The value of the ISCIPieSegment associated with this series info.

    Declaration

    Objective-C

    @property (nonatomic, readonly) double segmentValue;
  • The Segment Index at the hit-test site.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger segmentIndex;
  • The value indicating whether the HitTest operation was a hit or not

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL isHit;
  • Gets the value indicating whehter the parent renderable series is visible or not.

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL isVisible;
  • Creates a new instance of SCIPieSeriesInfo class.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithRenderableSeries:
        (nonnull id<ISCIPieRenderableSeries>)renderableSeries;

    Parameters

    renderableSeries

    The parent renderable series.

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

    Declaration

    Objective-C

    - (void)update;