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

SCIRenderableSeriesBase

Defines the Base class for all RenderableSeries within SciChart.

Warning

Designed to be an abstract class, hence should be used for inheritance only. No direct initializations.
  • Gets or sets a value indicating how this renderable series will treat NaN. See SCILineDrawMode for available options.

    Declaration

    Objective-C

    @property (nonatomic) SCILineDrawMode drawNaNAs;

    Swift

    var drawNaNAs: SCILineDrawMode { get set }
  • Gets the value which determines the zero line in Y direction.

    Note

    Used to set the bottom of a column, or the zero line in a mountain.

    Declaration

    Objective-C

    @property (nonatomic) double zeroLineY;

    Swift

    var zeroLineY: Double { get set }
  • Gets the value indicating whether this renderable series should be clipped to bounds, which is provided by -[ISCIRenderContext2D setClipRect:] method.

    Note

    If YES - then renderable series will be clipped to bounds.

    Declaration

    Objective-C

    @property (nonatomic) BOOL clipToBounds;

    Swift

    var clipToBounds: Bool { get set }
  • Creates a new instance of SCIRenderableSeriesBase class.

    Declaration

    Objective-C

    - (nonnull instancetype)
        initWithRenderPassData:(nonnull id<ISCISeriesRenderPassData>)renderPassData
                   hitProvider:(nonnull id<ISCIHitProvider>)hitProvider
          nearestPointProvider:
              (nonnull id<ISCINearestPointProvider>)nearestPointProvider;

    Swift

    init(renderPassData: ISCISeriesRenderPassData, hitProvider: ISCIHitProvider, nearestPointProvider: ISCINearestPointProvider)

    Parameters

    renderPassData

    The render pass data instance.

    hitProvider

    The hit provider instance.

    nearestPointProvider

    The nearest point provider instance.