ChartDirector 5.1 (.NET Edition)

PieChart.getSector


Usage

[VB] Public Function getSector(sectorNo As Integer) As Sector
[C#] public 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.