InterfaceIValueDistribution
Interface which converts real scale value (given as value between Min and Max property of the scale) to the relative value (value in the [0...1] interval) which will represent relative position of the value along the scale and vice versa. It also will be able to calculate value for the tick mark using its index and total number of ticks.
Definition
Namespace:Telerik.Windows.Controls.Gauge
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
public interface IValueDistribution
Methods
CalculateScaleMetrics(GraphicScale)
Calculate scale specific metrics which can be used to perform other calculations.
Declaration
void CalculateScaleMetrics(GraphicScale scale)
Parameters
scale
Scale object.
GetAbsoluteValue(double, double, double)
Gets absolute value for given relative value.
GetRelativeValue(double, double, double)
Gets relative value for given absolute value.
GetValueAtTick(GraphicScale, int, int, int)
Get value at the tick position.
Declaration
double GetValueAtTick(GraphicScale scale, int majorTickIndex, int middleTickIndex, int minorTickIndex)
Parameters
scale
Scale object.
majorTickIndex
MajorTick index.
middleTickIndex
MiddleTick index.
minorTickIndex
MinorTick index.
Returns
Absolute value at the tick position.