Constructs a treemap using the supplied data and a colormap.

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

Syntax

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

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.
shades
Type: array< System..::.Double >[]()[]
An array of double values to use for shading each area.
colormap
Type: Imsl.Chart2D..::.Colormap
A Colormap to use for the shading.

See Also