ChartDirector 7.1 (C++ Edition)

TreeMapNode.setSorting


Usage

void setSorting(int mode);

Description

Layout the nodes in sorted order.

ChartDirector supports a number of layout methods (see TreeMapNode.setLayoutMethod), most them will layout the nodes in the order they appear in the data array. The setSorting can be used to layout the nodes in sorted order instead.

Arguments

ArgumentDefaultDescription
mode(Mandatory)The values -1, 0, 1 refer to descending, no sorting and ascending order.

Return Value

None