Class RelativeBubbleSizeSelector
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.
Inherited Members
Namespace: Telerik.Charting
Assembly: Telerik.Windows.Controls.Chart.dll
Syntax
public class RelativeBubbleSizeSelector : ChartBubbleSizeSelector
Constructors
RelativeBubbleSizeSelector()
Initializes a new instance of the RelativeBubbleSizeSelector class.
Declaration
public RelativeBubbleSizeSelector()
Properties
BubbleSizeFunction
Gets or set the mathematical function used to determine the bubble size.
Declaration
public BubbleSizeFunction BubbleSizeFunction { get; set; }
Property Value
BubbleSizeFunction
|
MaximumSize
Gets or set the maximum bubble size.
Declaration
public double MaximumSize { get; set; }
Property Value
System.Double
|
MaximumSizePercent
Gets or set a value that indicates that a bubble size cannot be larger than this percent of the chart's size.
Declaration
public double MaximumSizePercent { get; set; }
Property Value
System.Double
|
MaximumValue
Gets or set the maximum value.
Declaration
public double MaximumValue { get; set; }
Property Value
System.Double
|
MinimumSize
Gets or set the minimum bubble size.
Declaration
public double MinimumSize { get; set; }
Property Value
System.Double
|
MinimumValue
Gets or set the minimum value.
Declaration
public double MinimumValue { get; set; }
Property Value
System.Double
|
Methods
SelectBubbleSize(IBubbleDataPoint)
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.
Declaration
public override RadSize SelectBubbleSize(IBubbleDataPoint dataPoint)
Parameters
IBubbleDataPoint
dataPoint
|
Returns
RadSize
|