IGLegend Class Reference
|Inherits from||IGLegendBase : UIView|
IGLegend is a UIView that displays information about chart view’s series. This type of legend is the most common and can be used by all series types. The legend displays rows of legend items, with each legend item consisting of an icon and a label. The icon represents the brush of the series associated with the legend item and the label is the title of the series. The legend can be used to display series from multiple charts. When multiple chart views set their legend property to the same legend, all series from those chart views will be displayed in that legend. The legend can also be set from the series. Doing so will take precedence over chart view’s legend property. With this legend, one series will display only one legend item. When the series does not have a title set, “Series Title” will be used in the legend item.
@property (nonatomic, assign) IGOrientation orientation
Horizontal alignment of the legend items.
@property (nonatomic, assign) IGHorizontalAlign horizontalAlignment
Vertical alignment of the legend items.
@property (nonatomic, assign) IGVerticalAlign verticalAlignment
@property (nonatomic, weak, nullable) id<IGLegendDelegate> delegate