IGPiePoint Class Reference

Inherits from IGCategoryPoint : IGDataPoint : NSObject
Declared in DataPoint.h

Overview

IGPiePoint is a data point that has a numeric value, a slice label and a legend label. It is used in IGPieChartView.

  legendLabel

A string value representing the legend label

@property (nonatomic, copy, nullable) NSString *legendLabel

Declared In

DataPoint.h

– initWithValue:label:legendLabel:

Initializes IGPiePoint with a value, slice label and legend label.

- (instancetype)initWithValue:(double)value label:(NSString *)label legendLabel:(nullable NSString *)legendLabel

Parameters

value

Value of the data point.

label

A string label of the slice.

legendLabel

A string label of the legend item.

Return Value

Returns an initialized IGPiePoint.

Declared In

DataPoint.h