ChartDirector 7.1 (C++ Edition)

PieChart.getSector


Usage

Sector *getSector(int sectorNo);

Description

Retrieves the Sector object representing a single sector in the pie chart.

You must call PieChart.setData to create the sectors first before calling this method.

Arguments

ArgumentDefaultDescription
sectorNo(Mandatory)The sector number of the sector to retrieve, starting from 0. The first sector is 0. The nth sector is (n-1).

Return Value

The requested Sector object.