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;Swift
var firstRenderPassData: (any ISCISeriesRenderPassData)? { get }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;Swift
var firstDataSeries: (any ISCIDataSeries)? { get }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;Swift
var hasValidRenderPassData: Bool { get } -
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;Swift
func isUpdate(ofStackedRenderPassDataRequired xCoordCalc: any ISCICoordinateCalculator, yCoordCalc: any ISCICoordinateCalculator, viewportSize: CGSize) -> BoolParameters
xCoordCalcThe current coordinate calculator for
X-Axis.yCoordCalcThe current coordinate calculator for
Y-Axis.viewportSizeThe 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
ISCIRenderableSeriesinto legend data source.Declaration
Objective-C
- (void)tryAddSeriesToLegendDataSource: (nonnull NSMutableArray<id<ISCIRenderableSeries>> *)legendDataSource;Swift
func tryAdd(toLegendDataSource legendDataSource: NSMutableArray)
View on GitHub