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

ISCIChartLegend

@protocol ISCIChartLegend <ISCIThemeable>

Provides a protocol for SCIChartLegend, which is used to display series color and name.

  • Defines the theme id for this SCIChartLegend instance.

    Declaration

    Objective-C

    @property (nonatomic, strong, nonnull) SCIChartTheme theme;
  • Provides the legend margins which is default spacing to use when laying out content in the ISCIChartLegend.

    Declaration

    Objective-C

    @property (nonatomic) UIEdgeInsets legendMargins;
  • Defines the position of the current ISCIChartLegend instance.

    Declaration

    Objective-C

    @property (nonatomic) SCIAlignment legendPosition;
  • Defines the orientation for this SCIChartLegend instance.

    Declaration

    Objective-C

    @property (nonatomic) SCIOrientation legendOrientation;
  • Defines a value indicating whether the legend should display checkboxes.

    Declaration

    Objective-C

    @property (nonatomic) BOOL showCheckBoxes;
  • Defines a value indicating whether the legend should display series markers.

    Declaration

    Objective-C

    @property (nonatomic) BOOL showSeriesMarkers;