Class
SliceDiceAlgorithm

This class is responsible for arranging the TreeMapDataItem elements in slices.

Definition

Namespace:Telerik.WinControls.UI.TreeMap

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public sealed class SliceDiceAlgorithm : TreeMapAlgorithm

Inheritance: objectTreeMapAlgorithmSliceDiceAlgorithm

Constructors

SliceDiceAlgorithm()

Initializes a new instance of the SliceDiceAlgorithm class.

Declaration

cs-api-definition
public SliceDiceAlgorithm()

Properties

Orientation

Gets or sets the orientation.

Declaration

cs-api-definition
public SliceDiceOrientation Orientation { get; set; }

Property Value

SliceDiceOrientation

The orientation.

SortDirection

Gets or sets the sort direction.

Declaration

cs-api-definition
public ListSortDirection SortDirection { get; set; }

Property Value

ListSortDirection

The sort direction.

Methods

CalculateRectangles(IEnumerable<double>, SizeF)

Calculates the rectangles.

Declaration

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

Parameters

data

IEnumerable<double>

The data.

availableSize

SizeF

Size of the available.

Returns

IList<RectangleF>

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