
iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCIDefaultLegendItemBase
@interface SCIDefaultLegendItemBase
: UICollectionViewCell <ISCILegendItem, ISCIThemeable>
Defines a default legend items which contains:
Label
with name.Button
checkbox for selection of series.View
which draws series icon.
-
Provides the
Checkbox Button
for selection of series.Declaration
Objective-C
@property (nonatomic, strong) SCISelectableButton *checkBoxButton;
-
Provides the
View
which draws series icon.Declaration
Objective-C
@property (nonatomic, strong) UIView *markerView;
-
Provides the
Label
which shows item name.Declaration
Objective-C
@property (nonatomic, strong) UILabel *seriesNameLabel;
-
Defines the action which is used by chechbox button.
Declaration
Objective-C
@property (nonatomic) SCILegendCheckboxAction checkBoxTouchUpInsideAction;
-
Defines a method which allows to update
checkBoxButton
visibility.Declaration
Objective-C
- (void)setCheckBoxVisibility:(BOOL)visibility;
Parameters
visibility
The new
visibility
value. -
Defines a method which allows to update
markerView
visibility.Declaration
Objective-C
- (void)setSeriesMarkerVisibility:(BOOL)visibility;
Parameters
visibility
The new
visibility
value.