iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCIVerticalAxisLayoutStrategy
@interface SCIVerticalAxisLayoutStrategy : SCIAxisLayoutStrategyBase
Base layout strategy class for vertical layout of axes.
-
Helper method which measures required size of axis for this horizontal layout strategy.
Declaration
Objective-C
+ (CGFloat)getRequiredAxisSizeFrom: (nonnull SCIAxisLayoutState *)axisLayoutState;Swift
class func getRequiredAxisSize(from axisLayoutState: SCIAxisLayoutState) -> CGFloatParameters
axisLayoutStateThe layout state of
ISCIAxis.Return Value
The desired size in pixels.
-
Helper method for layout axes horizontally from top to bottom.
Declaration
Objective-C
+ (void)layoutAxesFromLeftToRight:(nonnull NSArray<id<ISCIAxis>> *)axes withLeft:(CGFloat)left top:(CGFloat)top bottom:(CGFloat)bottom;Swift
class func layoutAxesFromLeft(toRight axes: [any ISCIAxis], withLeft left: CGFloat, top: CGFloat, bottom: CGFloat)Parameters
axesThe axes to perform layout on.
leftThe left bounds for this layout strategy.
topThe top bounds for this layout strategy.
bottomThe bottom bounds for this layout strategy
-
Helper method for layout axes horizontally from bottom to top.
Declaration
Objective-C
+ (void)layoutAxesFromRightToLeft:(nonnull NSArray<id<ISCIAxis>> *)axes withRight:(CGFloat)right top:(CGFloat)top bottom:(CGFloat)bottom;Swift
class func layoutAxesFromRight(toLeft axes: [any ISCIAxis], withRight right: CGFloat, top: CGFloat, bottom: CGFloat)Parameters
axesThe axes to perform layout on.
rightThe right bounds for this layout strategy.
topThe top bounds for this layout strategy.
bottomThe bottom bounds for this layout strategy
View on GitHub