Conforms to NSObject
Declared in IGLegend.h

Instance Methods

legend:customizeLegendLabel:usingBrush:

Allows the delegate to customize the label for the legend.

- (void)legend:(IGLegend *)legend customizeLegendLabel:(UILabel *)label usingBrush:(IGBrush *)brush

Parameters

legend

The legend making the request

label

The label that will be displayed.

brush

The brush that the item represents.

Declared In

IGLegend.h

legend:getBadgeForSize:usingBrush:

Asks the delegate for a badge to displayed.

- (UIView *)legend:(IGLegend *)legend getBadgeForSize:(CGSize)size usingBrush:(IGBrush *)brush

Parameters

legend

The legend making the request

size

The size the legend will be.

brush

The brush that the item represents.

Return Value

The badge that will be displayed. If nil is returned the default badge will be displayed.

Discussion

Note: you do not need to set the frame/bounds on the legend item. the size is available for reference.

Declared In

IGLegend.h