ClassRelativeBubbleSizeSelector
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:
public class RelativeBubbleSizeSelector : ChartBubbleSizeSelector
Inheritance: objectChartBubbleSizeSelectorRelativeBubbleSizeSelector
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
MaximumSize
Gets or set the maximum bubble size.
MaximumSizePercent
Gets or set a value that indicates that a bubble size cannot be larger than this percent of the chart's size.
MaximumValue
Gets or set the maximum value.
MinimumSize
Gets or set the minimum bubble size.
MinimumValue
Gets or set the minimum value.
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
dataPoint
Returns
Overrides