
iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
ISCIStackedRenderableSeries
@protocol ISCIStackedRenderableSeries <ISCIRenderableSeries>
Defines the interface for all Stacked RenderableSeries within SciChart.
-
Get the renderPassData instance of this series.
Declaration
Objective-C
@property (nonatomic, strong, readonly, nullable) id<ISCISeriesRenderPassData> firstRenderPassData;
Return Value
If it’s
SCIStackedColumnRenderableSeries
- returns its renderPassData. If it’sSCIVerticallyStackedColumnsCollection
- returns the renderPassData of the first series from the collection. -
Get the dataSeries instance of this series.
Declaration
Objective-C
@property (nonatomic, strong, readonly, nullable) id<ISCIDataSeries> firstDataSeries;
Return Value
If it’s
SCIStackedColumnRenderableSeries
- returns its dataSeries. If it’sSCIVerticallyStackedColumnsCollection
- returns the dataSeries of the first series from the collection. -
Checks whether this stacked renderable series has valid render pass data.
Declaration
Objective-C
@property (nonatomic, readonly) BOOL hasValidRenderPassData;
-
Checks whether this stacked renderable series need to update its render pass data.
Declaration
Objective-C
- (BOOL)isUpdateOfStackedRenderPassDataRequired: (nonnull id<ISCICoordinateCalculator>)xCoordCalc yCoordCalc: (nonnull id<ISCICoordinateCalculator>) yCoordCalc viewportSize:(CGSize)viewportSize;
Parameters
xCoordCalc
The current coordinate calculator for
X-Axis
.yCoordCalc
The current coordinate calculator for
Y-Axis
.viewportSize
The current viewport manager.
Return Value
If YES - update is required and
-[SCIStackedSeriesCollectionBase updateStackedRenderPassDataValuesWithXAxis:yAxis:]
should be called. -
When overridden in derived classes, should add all needed
ISCIRenderableSeries
into legend data source.Declaration
Objective-C
- (void)tryAddSeriesToLegendDataSource: (nonnull NSMutableArray<id<ISCIRenderableSeries>> *)legendDataSource;