iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
ISCIPieChartSurface
@protocol ISCIPieChartSurface <ISCIChartSurfaceBase, ISCIView>
Defines the interface to the SCIPieChartSurface, which contains a single SCIPieChartRenderSurface viewport
for rendering multiple ISCIPieRenderableSeries which may have a ISCIPieSegment
in the appropriate SCIPieSegmentCollection as a source.
The SCIPieChartSurface may have zero or many ISCIPieChartModifier to enable interaction with the chart.
See
SCIPieChartSurfaceSee
ISCIPieSegmentSee
ISCIPieRenderableSeriesSee
ISCIPieChartModifier-
Gets or sets size of hole for first donut series. Hole size in points
Declaration
Objective-C
@property (nonatomic) float holeRadius;Swift
var holeRadius: Float { get set } -
Gets or sets the SpacingMode to use for computation of radius of the hole, which is used only for SCIDonutRenderableSeries E.g. the default of Absolute requires that the spacing value is in pixels. The value of Relative requires relative spacing value
See
SCISizingModeDeclaration
Objective-C
@property (nonatomic) SCISizingMode holeRadiusSizingMode;Swift
var holeRadiusSizingMode: SCISizingMode { get set } -
Gets or sets the value which indicates spacing between series.
Declaration
Objective-C
@property (nonatomic) float seriesSpacing;Swift
var seriesSpacing: Float { get set } -
Gets or sets the SpacingMode to use for computation of spacing. E.g. the default of Absolute requires that the spacing value is in pixels. The value of Relative requires that the spacing value is a double value from 0.0 to 1.0.
See
SCISpacingModeDeclaration
Objective-C
@property (nonatomic) SCISpacingMode seriesSpacingMode;Swift
var seriesSpacingMode: SCISpacingMode { get set } -
Gets the collection of ISCIPieRenderableSeries that this
SCIPieChartSurfacedraws.See
SCIPieRenderableSeriesCollectionDeclaration
Objective-C
@property (nonatomic, strong, readonly) SCIPieRenderableSeriesCollection *_Nonnull renderableSeries;Swift
var renderableSeries: SCIPieRenderableSeriesCollection { get } -
Gets the collection of ISCIPieRenderableSeries that are selected.
See
SCIPieRenderableSeriesCollectionDeclaration
Objective-C
@property (nonatomic, strong, readonly) SCIPieRenderableSeriesCollection *_Nonnull selectedRenderableSeries;Swift
var selectedRenderableSeries: SCIPieRenderableSeriesCollection { get } -
Gets the collection of
ISCIPieChartModifierthat thisSCIPieChartSurfaceusesDeclaration
Objective-C
@property (nonatomic, strong, readonly) SCIPieChartModifierCollection *_Nonnull chartModifiers;Swift
var chartModifiers: SCIPieChartModifierCollection { get } -
Processes
SCIPieChartRenderedMessagewhich is raised at at the end of render passDeclaration
Objective-C
- (void)onSciChartRendered: (nonnull SCIPieChartRenderedMessage *)renderedMessage;Swift
func onSciChartRendered(_ renderedMessage: SCIPieChartRenderedMessage)Parameters
renderedMessageThe
SCIPieChartRenderedMessageinstance -
Sets the
ISCIPieChartSurfaceRenderedListenerinstance for this surfaceDeclaration
Objective-C
- (void)setRenderedListener: (nullable SCIPieChartSurfaceRenderedListener)listener;Swift
func setRenderedListener(_ listener: SCIPieChartSurfaceRenderedListener?)Parameters
listenerThe listener to set
-
Asynchronously requests layout on this
ISCIPieChartSurfaceinstance.Declaration
Objective-C
- (void)invalidateLayout;Swift
func invalidateLayout()
View on GitHub