Class
SliceDiceAlgorithm

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

Definition

Namespace:Telerik.Windows.Controls.TreeMap

Assembly:Telerik.Windows.Controls.DataVisualization.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>, 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)