This property determines the order in which pie slices are drawn.
Syntax:
setPieSorting(value);
value = getPieSorting();
where:
Can be one of the following:
0 for no sorting, leave the original order. This value is the default.
1 for ascending order.
2 for descending order
3 for alternate (largest slice, then smallest slice, then 2nd largest slice, then 2nd smallest slice, and so on). This is the best sorting to avoid label overlap when there are a lot of slices.
Example:
setGraphType(55); setPieSorting(1);
setGraphType(55); setPieSorting(3);
WebFOCUS |