Inherits from NSObject
Declared in IGPieChartView.h

Overview

This class contains properties that present valuable information about a pie chart slice.

This class is typically used when handling interactions, such as tap and long press gestures. It provides information, such as whether the slice is selected or exploded. It also provides the underlying data point.

Tasks

  •   isSelected

    Determines whether the slice is selected. Selected slices have a distinct style and multiple slices can be selected at the same time.

    property
  •   isExploded

    Determines whether the slice is exploded. Exploded slices are drawn at a distance from the origin.

    property
  •   isOthersCategory

    Determines whether the slice belongs to the Others slice. (read-only) Slices that belong to the Others category are not visible in the chart. They are grouped into a single slice with its own style.

    property
  •   item

    The underlying data object of the current slice. (read-only)

    property

Properties

isExploded

Determines whether the slice is exploded. Exploded slices are drawn at a distance from the origin.

@property (nonatomic) BOOL isExploded

Declared In

IGPieChartView.h

isOthersCategory

Determines whether the slice belongs to the Others slice. (read-only) Slices that belong to the Others category are not visible in the chart. They are grouped into a single slice with its own style.

@property (nonatomic, readonly) BOOL isOthersCategory

Declared In

IGPieChartView.h

isSelected

Determines whether the slice is selected. Selected slices have a distinct style and multiple slices can be selected at the same time.

@property (nonatomic) BOOL isSelected

Declared In

IGPieChartView.h

item

The underlying data object of the current slice. (read-only)

@property (nonatomic, readonly) NSObject *item

Declared In

IGPieChartView.h