Class RegularDistribution
Represents default distribution which is represented by linear function.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls.Gauge
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public class RegularDistribution : IValueDistribution
Constructors
RegularDistribution()
Declaration
public RegularDistribution()
Methods
CalculateScaleMetrics(GraphicScale)
Calculate scale specific metrics which can be used to perform other calculations.
Declaration
public void CalculateScaleMetrics(GraphicScale scale)
Parameters
GraphicScale
scale
Scale object. |
Implements
GetAbsoluteValue(Double, Double, Double)
Gets absolute value for given relative value.
Declaration
public double GetAbsoluteValue(double min, double max, double relativeValue)
Parameters
System.Double
min
Minimal scale value. |
System.Double
max
Maximal scale value. |
System.Double
relativeValue
Relative value. |
Returns
System.Double
Absolute value. |
Implements
GetRelativeValue(Double, Double, Double)
Gets relative value for given absolute value.
Declaration
public double GetRelativeValue(double min, double max, double absoluteValue)
Parameters
System.Double
min
Minimal scale value. |
System.Double
max
Maximal scale value. |
System.Double
absoluteValue
Absolute value. |
Returns
System.Double
Relative value. |
Implements
GetValueAtTick(GraphicScale, Int32, Int32, Int32)
Get value at the tick position.
Declaration
public double GetValueAtTick(GraphicScale scale, int majorTickIndex, int middleTickIndex, int minorTickIndex)
Parameters
GraphicScale
scale
Scale object. |
System.Int32
majorTickIndex
MajorTick index. |
System.Int32
middleTickIndex
MiddleTick index. |
System.Int32
minorTickIndex
MinorTick index. |
Returns
System.Double
Absolute value at the tick position. |