Axis.GetPosition(Double) 方法
定义
将轴值转换为相对位置 (0-100%)。Converts an axis value to a relative position (0-100%). 如果是对数轴,则将值转换为线性刻度。If an axis is logarithmic, the value is converted to a linear scale.
public:
double GetPosition(double axisValue);
public double GetPosition (double axisValue);
member this.GetPosition : double -> double
Public Function GetPosition (axisValue As Double) As Double
参数
- axisValue
- Double
要转换的轴值。The axis value to be converted.
返回
一个 double 值,该值表示相对位置 (0-100%)。A double value that represents the relative position (0-100%).