Class
SquarifiedAlgorithm

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

Definition

Namespace:Telerik.Windows.Controls.TreeMap

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

cs-api-definition
public sealed class SquarifiedAlgorithm : TreeMapAlgorithm

Inheritance: objectTreeMapAlgorithmSquarifiedAlgorithm

Constructors

SquarifiedAlgorithm()

Declaration

cs-api-definition
public SquarifiedAlgorithm()

Methods

CalculateRectangles(IEnumerable<double>, Size)

Calculates the rectangles.

Declaration

cs-api-definition
public override IList<Rect> CalculateRectangles(IEnumerable<double> data, Size availableSize)

Parameters

data

IEnumerable<double>

The data.

availableSize

Size

Size of the available.

Returns

IList<Rect>

Overrides TreeMapAlgorithm.CalculateRectangles(IEnumerable<double>, Size)