
iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
ISCILegendItem
@protocol ISCILegendItem
Defines an interface for legend item which is used by SCIChartLegend
.
-
Binds data provided by
source
to thisISCILegendItem
instance.Declaration
Objective-C
- (void)bindSeriesInfoWith:(id)source legend:(id<ISCIChartLegend>)legend;
Swift
func bindSeriesInfo(with source: Any!, legend: ISCIChartLegend!)
Parameters
source
Source to bind with.
legend
The parent
SCIChartLegend
.