ClassAutoRange
Definition
Namespace:Telerik.Windows.Controls.BulletGraph
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
public class AutoRange
Inheritance: objectAutoRange
Constructors
AutoRange(double, double, bool)
Initializes a new instance of the AutoRange class.
AutoRange(double, double, int, bool)
Initializes a new instance of the AutoRange class.
Declaration
public AutoRange(double dataMin, double dataMax, int intervalCount, bool isZeroBased = true)
Parameters
dataMin
The data min.
dataMax
The data max.
intervalCount
The interval count.
isZeroBased
Indicates whether the auto range should be zero based.
Properties
ActualMaxValue
Gets the actual max.
Declaration
public double ActualMaxValue { get; }
Property Value
The actual max.
ActualMinValue
Gets the actual min.
Declaration
public double ActualMinValue { get; }
Property Value
The actual min.
ActualStep
Gets the actual step.
Declaration
public double ActualStep { get; }
Property Value
The actual step.
ContainsZero
Gets a value indicating whether the zero is contained within the range.
Declaration
public bool ContainsZero { get; }
Property Value
If it contains zero true; otherwise, false.
DataMaxValue
Gets the data max value.
Declaration
public double DataMaxValue { get; }
Property Value
The data max value.
DataMinValue
Gets the data min value.
Declaration
public double DataMinValue { get; }
Property Value
The data min value.
IntervalCount
Gets or sets the interval count.
Declaration
public int IntervalCount { get; }
Property Value
The interval count.
IsZeroBased
Gets or sets a value indicating whether this instance is zero based.
Declaration
public bool IsZeroBased { get; set; }
Property Value
true if this instance is zero based; otherwise, false.
ShouldRoundMinValue
Gets or sets a value indicating whether the min value should be rounded.
Declaration
public bool ShouldRoundMinValue { get; set; }
Property Value
If the min value should be rounded - true; otherwise, false.
UserMaxValue
Gets or sets the user max value.
Declaration
public double UserMaxValue { get; set; }
Property Value
The user max value.
UserMinValue
Gets or sets the user min value.
Declaration
public double UserMinValue { get; set; }
Property Value
The user min value.
Methods
CalculateMaxValue()
Calculates the max value.
CalculateMinValue()
Calculates the min value.
CalculateStep()
Calculates the step.
CalculateStep(double)
Calculates the step.
Contains(double)
Determines whether the specified value is contained within the Range.
Equals(object)
Determines whether the specified object is equal to this instance.
FindStepInList(double, List<double>)
Finds the step in list.
Flatten(double)
Converts the point to flattened range.
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
Overrides
RoundMinValue(double, double)
Rounds the min value.
ScaleRange(double)
Scales the range.
ScaleToRange(double)
Scales to range.
Operators
operator !=(AutoRange, AutoRange)
Implements the operator !=.
operator ==(AutoRange, AutoRange)
Implements the operator ==.