LogarithmicNumericAxis
StockSharp.Xaml.Charting.Visuals.Axes
提供一个对数,值数轴,能够渲染出UltrachartSurface X上或Y轴上双倍,直径,字节,长勾。LogarithmicBase属性决定了对数所使用的底数.
继承自: NumericAxis
实现: ILogarithmicAxis, IAxis, IAxisParams, IHitTestable, ISuspendable, IInvalidatableElement, IDrawable
构造函数
LogarithmicNumericAxis
public LogarithmicNumericAxis()
logarithmicNumericAxis = LogarithmicNumericAxis()
初始化了 & ##LogarithmicNumericAxis+# 类的新实例 。
属性
IsLogarithmicAxis
public override bool IsLogarithmicAxis { get; }
value = logarithmicNumericAxis.IsLogarithmicAxis
获得一个数值,以表示此实例是否为对数轴。
LogarithmicBase
public double LogarithmicBase { get; set; }
value = logarithmicNumericAxis.LogarithmicBase
logarithmicNumericAxis.LogarithmicBase = value
获取或设置确定对数使用的基础的值。
方法
GetAxisParams
public override AxisParams GetAxisParams()
result = logarithmicNumericAxis.GetAxisParams()
获得关于当前轴线设置的% AxisParams+% 结构信息
GetDefaultNonZeroRange
public override IRange GetDefaultNonZeroRange()
result = logarithmicNumericAxis.GetDefaultNonZeroRange()
返回默认的非零 IRange, 由 Ultrachart 内部调用, 将轴的 VisibleRange 重置为未定义状态
GetDeltaCalculator
protected override IDeltaCalculator GetDeltaCalculator()
result = logarithmicNumericAxis.GetDeltaCalculator()
返回一个用于计算轴线、滴答和标签的数据值的 IDeltaCalculator 实例。当在衍生类中被覆盖(e.g. LogarithmicNumericAxis)时,执行 GetTickCalculator () 更改,允许该轴类型的特定计算
返回值: 个 IDeltaCalculator 实例
IsValidRange
public override bool IsValidRange(IRange range)
result = logarithmicNumericAxis.IsValidRange(range)
检查此轴是否有效的可见范围
- range
字段
LogarithmicBaseProperty
public static readonly DependencyProperty LogarithmicBaseProperty
value = LogarithmicNumericAxis.LogarithmicBaseProperty
定义 LogarithmicBase DependencyProperty 定义