New to Telerik UI for WPFStart a free 30-day trial

Represents base distribution which is represented by logarithmic function.

Definition

Namespace:Telerik.Windows.Controls.Gauge

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

C#
public abstract class LogarithmicDistributionBase : IValueDistribution

Inheritance: objectLogarithmicDistributionBase

Derived Classes: ClassicLogarithmicDistributionRangeLogarithmicDistribution

Implements: IValueDistribution

Constructors

Initializes a new instance of the LogarithmicDistributionBase class.

C#
protected LogarithmicDistributionBase()

Properties

Gets or sets logarithmic base of the distribution.

C#
public double LogarithmicBase { get; set; }

Methods

Calculate scale specific metrics which can be used to perform other calculations.

C#
public virtual void CalculateScaleMetrics(GraphicScale scale)
Parameters:scaleGraphicScale

Scale object.

Implements: IValueDistribution.CalculateScaleMetrics(GraphicScale)

Gets absolute value for given relative value.

C#
public abstract double GetAbsoluteValue(double min, double max, double relativeValue)
Parameters:mindouble

Minimal scale value.

maxdouble

Maximal scale value.

relativeValuedouble

Relative value.

Returns:

double

Absolute value.

Implements: IValueDistribution.GetAbsoluteValue(double, double, double)

Gets relative value for given absolute value.

C#
public abstract double GetRelativeValue(double min, double max, double absoluteValue)
Parameters:mindouble

Minimal scale value.

maxdouble

Maximal scale value.

absoluteValuedouble

Absolute value.

Returns:

double

Relative value.

Implements: IValueDistribution.GetRelativeValue(double, double, double)

Get value at the tick position.

C#
public virtual double GetValueAtTick(GraphicScale scale, int majorTickIndex, int middleTickIndex, int minorTickIndex)
Parameters:scaleGraphicScale

Scale object.

majorTickIndexint

MajorTick index.

middleTickIndexint

MiddleTick index.

minorTickIndexint

MinorTick index.

Returns:

double

Absolute value at the tick position.

Implements: IValueDistribution.GetValueAtTick(GraphicScale, int, int, int)