Int64Range
StockSharp.Xaml.Charting
Defines a Range of type Int64
构造函数
Int64Range()
Initializes a new instance of the IntegerRange class.
Int64Range(long, long)
Initializes a new instance of the IntegerRange class.
- min
- The min.
- max
- The max.
属性
方法
AsDoubleRange() : DoubleRange
Converts this range to a DoubleRange, which are used internally for calculations
ClipTo(IRange<long>) : IRange<long>
Clips the current IRange to a maxmimum range
- maximumRange
- The Maximum Range
返回值: This instance, after the operation
GrowBy(double, double) : IRange<long>
Grows the current IRange by the min and max fraction, returning this instance after modification
- minFraction
- The Min fraction to grow by. For example, Min = -10 and minFraction = 0.1 will result in the new Min = -11
- maxFraction
- The Max fraction to grow by. For example, Max = 10 and minFraction = 0.2 will result in the new Max = 12
返回值: This instance, after the operation
SetMinMax(double, double) : IRange<long>
Sets the Min, Max values on the IRange, returning this instance after modification
- min
- The new Min value.
- max
- The new Max value.
返回值: This instance, after the operation
SetMinMax(double, double, IRange<long>) : IRange<long>
Sets the Min, Max values on the IRange with a max range to clip values to, returning this instance after modification
- min
- The new Min value.
- max
- The new Max value.
- maxRange
- The max range, which is used to clip values.
返回值: This instance, after the operation