iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCIChartLegend
@interface SCIChartLegend : UICollectionView <ISCIChartLegend, ISCILayoutable>
Provides a Legend to display series color and name.
-
Deprecated
To place Legend manually use [view addSybview:] instead
Places legend on view
Declaration
Objective-C
- (void)placeLegendOnView:(UIView *)view;
Swift
func place(on view: UIView!)
Parameters
view
The view to place legend on.
-
Deprecated
To remove Legend manually use [view removeFromSuperview] instead
Removes legend from its superview
Declaration
Objective-C
- (void)removeLegendFromSuperview;
Swift
func removeFromSuperview()