iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x

ISCIStackedRenderableSeries

@protocol ISCIStackedRenderableSeries <ISCIRenderableSeries>

Defines the interface for all Stacked RenderableSeries within SciChart.

  • Checks whether this stacked renderable series has valid render pass data.

    Declaration

    Objective-C

    @property (readonly, nonatomic) 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:
                (id<ISCICoordinateCalculator>)xCoordCalc
                                         yCoordCalc:(id<ISCICoordinateCalculator>)
                                                        yCoordCalc
                                       viewportSize:(CGSize)viewportSize;

    Swift

    func isUpdate(ofStackedRenderPassDataRequired xCoordCalc: ISCICoordinateCalculator!, yCoordCalc: ISCICoordinateCalculator!, viewportSize: CGSize) -> Bool

    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.