iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCILayoutManagerBase
@interface SCILayoutManagerBase : NSObject <ISCILayoutManager>
Base class for implementation of custom LayoutManager.
-
Gets the
ISCIServiceContainerinstance which provides access to services.Declaration
Objective-C
@property (nonatomic, weak, nullable) id<ISCIServiceContainer> services;Swift
weak var services: (any ISCIServiceContainer)? { get set } -
Gets the parent surface that this instance is associated with.
Declaration
Objective-C
@property (nonatomic, weak, nullable) id<ISCIChartSurface> parentSurface;Swift
weak var parentSurface: (any ISCIChartSurface)? { get set } -
Notify all annotations which are attached to
axisabout changing of axis alignment.Declaration
Objective-C
- (void)notifyOnAxisAlignmentChanged:(nonnull id<ISCIAxis>)axis oldValue:(SCIAxisAlignment)oldValue newValue:(SCIAxisAlignment)newValue;Swift
func notify(onAxisAlignmentChanged axis: any ISCIAxis, oldValue: SCIAxisAlignment, newValue: SCIAxisAlignment)Parameters
axisaxis which has been changed.
oldValueold axis alignment.
newValuenew axis alignment.
-
Layout center parts of charts such as
ISCIRenderableSeriesArea andISCIChartModifierSurface`.Declaration
Objective-C
- (void)layoutChartCenterWithLeft:(CGFloat)left top:(CGFloat)top right:(CGFloat)right bottom:(CGFloat)bottom;Swift
func layoutChartCenter(withLeft left: CGFloat, top: CGFloat, right: CGFloat, bottom: CGFloat)Parameters
leftleft position of area relative to parent
SCIChartSurface.toptop position of area relative to parent
SCIChartSurface.rightright position of area relative to parent
SCIChartSurface.bottombottom position of area relative to parent
SCIChartSurface.
View on GitHub