
iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
ISCILayoutable
@protocol ISCILayoutable <NSObject>
Defines interface for elements which can be placed by ISCILayoutManager
.
-
Places this instance relative to parent
SCIChartSurface
.Declaration
Objective-C
- (void)layoutAreaWithLeft:(CGFloat)left top:(CGFloat)top right:(CGFloat)right bottom:(CGFloat)bottom;
Parameters
left
left position of area relative to parent
SCIChartSurface
.top
top position of area relative to parent
SCIChartSurface
.right
right position of area relative to parent
SCIChartSurface
.bottom
bottom position of area relative to parent
SCIChartSurface
. -
Gets
CGRect
with layout placement.Declaration
Objective-C
@property (nonatomic, readonly) CGRect layoutRect;
-
Get the
CGSize
of layout placement rect.Declaration
Objective-C
@property (nonatomic, readonly) CGSize layoutSize;