iOS Charting Documentation - SciChart iOS Charts SDK v3.x

SCIPieChartSurface

@interface SCIPieChartSurface
    : UIView <ISCIInvalidatableElement, ISCIPropertyHolder>

Surface for pie and donut series. Renders series using CoreGraphics.

  • :nodoc;

    Declaration

    Objective-C

    @property (nonatomic, weak, readwrite, nullable) id<ISCIRenderSurface>
        renderSurface;

    Swift

    weak var renderSurface: ISCIRenderSurface? { get set }
  • Collection of renderable series. Can contain pie or donut series.

    See

    SCIPieRenderableSeriesCollection

    Declaration

    Objective-C

    @property (nonatomic, strong, readwrite, nonnull)
        SCIPieRenderableSeriesCollection *renderableSeries;

    Swift

    var renderableSeries: SCIPieRenderableSeriesCollection { get set }
  • Collection of chart modifiers. SCIPieChartSurface works only with Pie modifiers.

    See

    SCIChartModifierCollection

    See

    ISCIChartModifier

    Declaration

    Objective-C

    @property (nonatomic, strong, readwrite, nonnull)
        SCIChartModifierCollection *chartModifiers;

    Swift

    var chartModifiers: SCIChartModifierCollection { get set }
  • Manager that calculates size for pie and donut series

    See

    SCIPieLayoutManager

    Declaration

    Objective-C

    @property (nonatomic, strong, readwrite, nullable)
        SCIPieLayoutManager *layoutManager;

    Swift

    var layoutManager: SCIPieLayoutManager? { get set }
  • return frame of SciChart surface

    Declaration

    Objective-C

    - (CGRect)frame;

    Swift

    func frame() -> CGRect
  • return frame of charts area

    Declaration

    Objective-C

    - (CGRect)chartFrame;

    Swift

    func chartFrame() -> CGRect
  • Gets or sets size of hole for first donut series. Hole size in points

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite) float holeRadius;

    Swift

    var holeRadius: Float { get set }
  • Gets or sets space between pie series in points

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite) float seriesSpacing;

    Swift

    var seriesSpacing: Float { get set }
  • Gets or sets distance from chart area border to pie charts in points

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite) float margin;

    Swift

    var margin: Float { get set }
  • Gets or sets minimum series height which is used if autolayout failed to calculate size

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite)
        float seriesMinimumHeight;

    Swift

    var seriesMinimumHeight: Float { get set }