
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;
-
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;
-
Gets or sets the value which indicates spacing between series.
Declaration
Objective-C
@property (nonatomic) float seriesSpacing;
-
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;
-
Gets the collection of ISCIPieRenderableSeries that this
SCIPieChartSurface
draws.See
SCIPieRenderableSeriesCollectionDeclaration
Objective-C
@property (nonatomic, strong, readonly) SCIPieRenderableSeriesCollection *_Nonnull renderableSeries;
-
Gets the collection of ISCIPieRenderableSeries that are selected.
See
SCIPieRenderableSeriesCollectionDeclaration
Objective-C
@property (nonatomic, strong, readonly) SCIPieRenderableSeriesCollection *_Nonnull selectedRenderableSeries;
-
Gets the collection of
ISCIPieChartModifier
that thisSCIPieChartSurface
usesDeclaration
Objective-C
@property (nonatomic, strong, readonly) SCIPieChartModifierCollection *_Nonnull chartModifiers;
-
Processes
SCIPieChartRenderedMessage
which is raised at at the end of render passDeclaration
Objective-C
- (void)onSciChartRendered: (nonnull SCIPieChartRenderedMessage *)renderedMessage;
Parameters
renderedMessage
The
SCIPieChartRenderedMessage
instance -
Sets the
ISCIPieChartSurfaceRenderedListener
instance for this surfaceDeclaration
Objective-C
- (void)setRenderedListener: (nullable SCIPieChartSurfaceRenderedListener)listener;
Parameters
listener
The listener to set
-
Asynchronously requests layout on this
ISCIPieChartSurface
instance.Declaration
Objective-C
- (void)invalidateLayout;