iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
ISCIChartSurface
@protocol ISCIChartSurface <ISCIChartSurfaceBase, ISCIChartController>
Defines the interface to the SCIChartSurface, which contains a single ISCIRenderSurface viewport for rendering
multiple ISCIRenderableSeries, X and Y ISCIAxis instances, and where each ISCIRenderableSeries may have a ISCIDataSeries data source.
The SCIChartSurface may have zero or many ISCIAnnotation as well as ISCIChartModifiers to enable interaction with the chart.
Where many ISCIChartModifier are used, you may use a SCIModifierGroup to group them.
See
SCIChartSurface.
See
ISCIDataSeries.
See
ISCIRenderableSeries.
See
ISCIAxis.
See
ISCIChartModifier.
See
ISCIAnnotation.
-
Gets the
SCIZoomStateforSCIChartSurface.Declaration
Objective-C
@property (nonatomic, readonly) SCIZoomState zoomState;Swift
var zoomState: SCIZoomState { get } -
Gets the collection of
ISCIAnnotationthat thisSCIChartSurfacedraws.Declaration
Objective-C
@property (nonatomic, strong) SCIAnnotationCollection *_Nonnull annotations;Swift
var annotations: SCIAnnotationCollection { get set } -
Gets the collection of XAxes
ISCIAxisthat thisSCIChartSurfacedraws.Declaration
Objective-C
@property (nonatomic, strong) SCIAxisCollection *_Nonnull xAxes;Swift
var xAxes: SCIAxisCollection { get set } -
Gets the collection of YAxes
ISCIAxisthat thisSCIChartSurfacedraws.Declaration
Objective-C
@property (nonatomic, strong) SCIAxisCollection *_Nonnull yAxes;Swift
var yAxes: SCIAxisCollection { get set } -
Gets the collection of
ISCIRenderableSeriesthat thisSCIChartSurfacedraws.Declaration
Objective-C
@property (nonatomic, strong) SCIRenderableSeriesCollection *_Nonnull renderableSeries;Swift
var renderableSeries: SCIRenderableSeriesCollection { get set } -
Gets the collection of
ISCIRenderableSeriesthat are selected.Declaration
Objective-C
@property (nonatomic, strong, readonly) SCIRenderableSeriesCollection *_Nonnull selectedRenderableSeries;Swift
var selectedRenderableSeries: SCIRenderableSeriesCollection { get } -
Gets the collection of
ISCIChartModifierthat thisSCIChartSurfaceuses.Declaration
Objective-C
@property (nonatomic, strong) SCIChartModifierCollection *_Nonnull chartModifiers;Swift
var chartModifiers: SCIChartModifierCollection { get set } -
Gets or sets the
ISCIRenderSurfaceinstance for thisSCIChartSurfaceDeclaration
Objective-C
@property (nonatomic, strong) id<ISCIRenderSurface> _Nonnull renderSurface;Swift
var renderSurface: any ISCIRenderSurface { get set } -
Gets or sets the
ISCIViewportManagerinstance for thisSCIChartSurface.Declaration
Objective-C
@property (nonatomic, strong) id<ISCIViewportManager> _Nonnull viewportManager;Swift
var viewportManager: any ISCIViewportManager { get set } -
Gets or sets the
ISCILayoutManagerinstance for thisSCIChartSurface.Declaration
Objective-C
@property (nonatomic, strong) id<ISCILayoutManager> _Nonnull layoutManager;Swift
var layoutManager: any ISCILayoutManager { get set } -
Gets the
ISCIRenderableSeriesAreainstance for thisSCIChartSurface.Declaration
Objective-C
@property (nonatomic, strong, readonly) id<ISCIRenderableSeriesArea> _Nonnull renderableSeriesArea;Swift
var renderableSeriesArea: any ISCIRenderableSeriesArea { get } -
Gets the
ISCIAdornerLayerinstance for thisSCIChartSurface.Declaration
Objective-C
@property (nonatomic, strong, readonly) id<ISCIAdornerLayer> _Nonnull adornerLayer;Swift
var adornerLayer: any ISCIAdornerLayer { get } -
Gets the border style for
SCIChartSurface.renderableSeriesArea.Declaration
Objective-C
@property (nonatomic, strong) SCIPenStyle *_Nonnull renderableSeriesAreaBorderStyle;Swift
var renderableSeriesAreaBorderStyle: SCIPenStyle { get set } -
Gets the fill style for
SCIChartSurface.renderableSeriesArea.Declaration
Objective-C
@property (nonatomic, strong) SCIBrushStyle *_Nonnull renderableSeriesAreaFillStyle;Swift
var renderableSeriesAreaFillStyle: SCIBrushStyle { get set } -
Used internally to add
ISCIAxisModifierSurfaceinto thisSCIChartSurface.Declaration
Objective-C
- (void)addAxisModifierSurface: (nonnull id<ISCIAxisModifierSurface>)axisModifierSurface;Swift
func add(_ axisModifierSurface: any ISCIAxisModifierSurface)Parameters
axisModifierSurfaceThe axis modifier surface to add.
-
Used internally to remove
ISCIAxisModifierSurfacefrom thisSCIChartSurface.Declaration
Objective-C
- (void)removeAxisModifierSurface: (nonnull id<ISCIAxisModifierSurface>)axisModifierSurface;Swift
func remove(_ axisModifierSurface: any ISCIAxisModifierSurface)Parameters
axisModifierSurfaceThe axis modifier surface to remove.
-
Processes
SCIRenderedMessagewhich is raised at at the end of render pass.Declaration
Objective-C
- (void)onSciChartRendered:(nonnull SCIRenderedMessage *)renderedMessage;Swift
func onSciChartRendered(_ renderedMessage: SCIRenderedMessage)Parameters
renderedMessageThe
SCIRenderedMessageinstance. -
Sets the
ISCIChartSurfaceRenderedListenerinstance for this surface.Declaration
Objective-C
- (void)setRenderedListener:(nullable SCIChartSurfaceRenderedListener)listener;Swift
func setRenderedListener(_ listener: SCIChartSurfaceRenderedListener?)Parameters
listenerThe listener to set.
-
Sets the
SCIZoomStatefor this surface.Declaration
Objective-C
- (void)updateZoomState:(SCIZoomState)updatedZoomState;Swift
func update(_ updatedZoomState: SCIZoomState)Parameters
updatedZoomStateThe
SCIZoomStateinstance. -
Sets the
userInteractionEnabledfor this surface.Declaration
Objective-C
- (void)setDisableTouchEvent:(BOOL)disableTouchEvent;Swift
func setDisableTouchEvent(_ disableTouchEvent: Bool)Parameters
disableTouchEventA Boolean value that determines whether user touch event are ignored or not.
YES- If you want to ignore touch events (i.e., user interaction is disabled).NO- If you want to recognise touch events (i.e., user interaction is enabled).
View on GitHub