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

A class that encapsulates the logic for selecting a bubble size. This bubble-size-selector implementation works in relative mode to determine the bubble sizes. The bubble sizes are calculated in accordance to the bubble-size-function and with respect to the minimum value, maximum value, minimum size and maximum size. By default the max bubble size depends on the MaximumSizePercent property and the chart's size.

Definition

Namespace:Telerik.Charting

Assembly:Telerik.Windows.Controls.Chart.dll

Syntax:

C#
public class RelativeBubbleSizeSelector : ChartBubbleSizeSelector

Inheritance: objectChartBubbleSizeSelectorRelativeBubbleSizeSelector

Constructors

Initializes a new instance of the RelativeBubbleSizeSelector class.

C#
public RelativeBubbleSizeSelector()

Properties

Gets or set the mathematical function used to determine the bubble size.

C#
public BubbleSizeFunction BubbleSizeFunction { get; set; }

Gets or set the maximum bubble size.

C#
public double MaximumSize { get; set; }

Gets or set a value that indicates that a bubble size cannot be larger than this percent of the chart's size.

C#
public double MaximumSizePercent { get; set; }

Gets or set the maximum value.

C#
public double MaximumValue { get; set; }

Gets or set the minimum bubble size.

C#
public double MinimumSize { get; set; }

Gets or set the minimum value.

C#
public double MinimumValue { get; set; }

Methods

Calculates the bubble size for a given bubble data point. The bubble size is calculated with respect to the data point's BubbleSize and the MinimumValue, MaximumValue, MinimumSize, MaximumSize and BubbleSizeFunction properties.

C#
public override RadSize SelectBubbleSize(IBubbleDataPoint dataPoint)
Parameters:dataPointIBubbleDataPointReturns:

RadSize

Overrides: ChartBubbleSizeSelector.SelectBubbleSize(IBubbleDataPoint)