PIECHART dialog element

Windows Linux macOS

Syntax

DIALOG ADD,PIECHART,<name>,<top>,<left>,<width>,<height>,<value>,<tooltip>,<styles>

Description

This dialog element creates a simple pie chart at the position and size specified, using styles specified. The pie chart may only show the proportion of one item relative to another, expressed as a percentage.

The pie chart may be changed using the DIALOG SET command with values in the range 0..100.

Styles

In addition to user-defined styles to change the default color, the following styles may be used with this dialog element:

CLICK The element will generate a <name>CLICK event when it is clicked.
<cursor style> The cursor will change to the named style when the pointer is over the dialog element. Valid styles are: NONE, ARROW, CROSS, IBEAM, SIZE, NESW, NS, NWSE, WE, UP, WAIT, DRAG, NODROP, HSPLIT, VSPLIT, MULTI, SQL, NO, HELP, HAND.

See also