Class
LogarithmicScale

The LogarithmicScale is similar to the NumericalScale, except there's a logarithmic transform that is applied to the input domain value before the output range value is computed. The mapping to the output range value y can be expressed as a function of the input domain value x: y = m log(x) + b. The LogarithmicScale does not support zero or negative values.

Definition

Namespace:Telerik.Reporting

Assembly:Telerik.Reporting.dll

Syntax:

cs-api-definition
public class LogarithmicScale : NumericalScaleBase

Inheritance: objectScaleNumericalScaleBaseLogarithmicScale

Inherited Members NumericalScaleBase.autoNumericalScaleBase.DataPointTicksScale.GetDefaultCrossAxisPosition(bool)Scale.ToString()Scale.ReversedScale.CrossAxisPositionScale.SpacingSlotCount

Constructors

LogarithmicScale()

TODO: Add documentation.

Declaration

cs-api-definition
public LogarithmicScale()

Properties

Base

Gets or sets the base value of the logarithm.

Declaration

cs-api-definition
public double Base { get; set; }

Property Value

double

CrossAxisPositions

A collection of LogarithmicScaleCrossAxisPosition items that defines the where the other axes cross the current one.

Declaration

cs-api-definition
public LogarithmicScaleCrossAxisPositionCollection CrossAxisPositions { get; }

Property Value

LogarithmicScaleCrossAxisPositionCollection

CrossAxisValue

Applied when GraphScaleCrossAxisPosition is set to GraphAxisZeroValueMode.Specific. Zero value is where the other axis crosses the current axis.

Declaration

cs-api-definition
[Obsolete("The CrossAxisValue property is now obsolete. Please use the CrossAxisPositions property instead.")]
[Browsable(false)]
public double CrossAxisValue { get; set; }

Property Value

double

MajorStep

Gets or sets the step/interval for the major ticks/grid lines.

Declaration

cs-api-definition
[Browsable(false)]
[Obsolete("The LogarithmicScale.MajorStep property is now obsolete. The LogarithmicScale now determines the major/minor tick steps automatically according to the value of the LogarithmicScale.Base property.")]
public double MajorStep { get; set; }

Property Value

double

Maximum

Graph axis range - maximum value. Set to float.NaN to automatically calculate the value based on the data.

Declaration

cs-api-definition
public override double Maximum { get; set; }

Property Value

double

A positive number that indicates the maximum value for the scale.

Overrides NumericalScaleBase.Maximum

Remarks

Due to the nature of the logarithmic transformation applied to the scale the Maximum property accepts only positive numbers and throws an error for zero or negative values.

Minimum

Axis' minimum value. Set to float.NaN to automatically calculate the value based on the data.

Declaration

cs-api-definition
public override double Minimum { get; set; }

Property Value

double

A positive number that defines the minimum value for the scale. A NaN value indicates that the scale will automatically calculate its minimum value based on the data. The default value is NaN.

Overrides NumericalScaleBase.Minimum

Remarks

Due to the nature of the logarithmic transformation applied to the scale the Minimum property accepts only positive numbers and throws an error for zero or negative values.

MinorStep

Gets or sets the step/interval for the minor ticks/grid lines.

Declaration

cs-api-definition
[Browsable(false)]
[Obsolete("The LogarithmicScale.MinorStep property is now obsolete. The LogarithmicScale now determines the major/minor tick steps automatically according to the value of the LogarithmicScale.Base property.")]
public double MinorStep { get; set; }

Property Value

double