New to Telerik UI for WinFormsStart a free 30-day trial

This class is responsible for arranging the TreeMapDataItem elements, so that their aspect ratio is as close to 1 as possible.

Definition

Namespace:Telerik.WinControls.UI.TreeMap

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public sealed class SquarifiedAlgorithm : TreeMapAlgorithm

Inheritance: objectTreeMapAlgorithmSquarifiedAlgorithm

Constructors

C#
public SquarifiedAlgorithm()

Methods

Calculates the rectangles.

C#
public override IList<RectangleF> CalculateRectangles(IEnumerable<double> data, SizeF availableSize)
Parameters:dataIEnumerable<double>

The data.

availableSizeSizeF

Size of the available.

Returns:

IList<RectangleF>

Overrides: TreeMapAlgorithm.CalculateRectangles(IEnumerable<double>, SizeF)