Class SquarifiedAlgorithm
This class is responsible for arranging the RadTreeMapItem elements, so that their aspect ratio is as close to 1 as possible.
Namespace: Telerik.Windows.Controls.TreeMap
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public sealed class SquarifiedAlgorithm : TreeMapAlgorithm
Constructors
SquarifiedAlgorithm()
Declaration
public SquarifiedAlgorithm()
Methods
CalculateRectangles(IEnumerable<Double>, Size)
Calculates the rectangles.
Declaration
public override IList<Rect> CalculateRectangles(IEnumerable<double> data, Size availableSize)
Parameters
System.Collections.Generic.IEnumerable<System.Double>
data
The data. |
System.Windows.Size
availableSize
Size of the available. |
Returns
System.Collections.Generic.IList<System.Windows.Rect>
|