Constructs a treemap using supplied data and color array.

Namespace: Imsl.Chart2D
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
public Treemap(
	AxisXY axis,
	double[] data,
	Color[] colors
)
Visual Basic (Declaration)
Public Sub New ( _
	axis As AxisXY, _
	data As Double(), _
	colors As Color() _
)
Visual C++
public:
Treemap(
	AxisXY^ axis, 
	array<double>^ data, 
	array<Color>^ colors
)

Parameters

axis
Type: Imsl.Chart2D..::.AxisXY
The AxisXY parent of this node.
data
Type: array< System..::.Double >[]()[]
A double array containing the area values for the treemap in decreasing order.
colors
Type: array< System.Drawing..::.Color >[]()[]
A Color array, one for each area.

See Also