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
Initializes a new instance of the RelativeBubbleSizeSelector class.
public RelativeBubbleSizeSelector()
Properties
Gets or set the mathematical function used to determine the bubble size.
public BubbleSizeFunction BubbleSizeFunction { get; set; }
Gets or set the maximum bubble size.
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.
public double MaximumSizePercent { get; set; }
Gets or set the maximum value.
public double MaximumValue { get; set; }
Gets or set the minimum bubble size.
public double MinimumSize { get; set; }
Gets or set the minimum value.
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.
public override RadSize SelectBubbleSize(IBubbleDataPoint dataPoint)
Overrides: