ChartDirector 7.0 (Python Edition)

TreeMapNode.setSorting


Usage

setSorting(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