iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x

ISCILegendDataSourceObserver

@protocol ISCILegendDataSourceObserver <NSObject>

Defines the protocol for SCILegendDataSource observer.

  • Called when data set items have changed.

    Declaration

    Objective-C

    - (void)onDataSetUpdated;

    Swift

    func onDataSetUpdated()
  • Called when data set has changed.

    Declaration

    Objective-C

    - (void)onDataSetChanged;

    Swift

    func onDataSetChanged()