Pie Chart

A pie chart control. A pie chart displays a set of values and labels as sectors of a circular chart. The labels are displayed alongside the chart, and can be shown or hidden.

Panos Merakos - Nov 26th, 2018
Very useful
Massimiliano Vessi - Nov 26th, 2018
Excelent. I'd like also: - an option to keep pieces separated as in this widget icon - the textFont property working

Pie Chart

Type

widget

Summary
A pie chart control. A pie chart displays a set of values and labels as sectors of a circular chart. The labels are displayed alongside the chart, and can be shown or hidden.
Description

A pie chart control. A pie chart displays a set of values and labels as sectors of a circular chart. The labels are displayed alongside the chart, and can be shown or hidden.

sectorClicked

Type

message

Syntax
on sectorClicked pSectorNumber
Summary
Sent when a sector of the pie chart is clicked.
Parameters
Name Type Description
pSectorNumber The sector number of the clicked segment.
Description

The message is sent when a sector in the pie chart is clicked. The parameter number of the sector which was clicked.

sectorValues

Type

property

Syntax
get the sectorValues of widget
set the sectorValues of widget to pValueList
Summary
The list of values to be displayed on the pie chart.
Parameters
Name Type Description
pValueList A comma separated string of values.
Description

Use the property to set the values to be displayed in the pie chart.

sectorLabels

Type

property

Syntax
get the sectorLabels of widget
set the sectorLabels of widget to pLabelList
Summary
The list of labels associated with the pie chart sectors.
Parameters
Name Type Description
pLabelList A comma separated string of labels.
Description

Use the property to set the labels to be displayed in the pie chart.

showLabels

Type

property

Syntax
get the showLabels of widget
set the showLabels of widget to { true | false }
Summary
Whether the sector labels are shown or not.
Description

Use the property to control whether the sector labels are shown or not.