Exemplo n.º 1
0
 /// <summary>
 /// Converts an axis value to its relative position (0-100%).
 /// If an axis has a logarithmic scale, the value is converted to a linear scale.
 /// This method only works in paint events.
 /// </summary>
 /// <param name="axisValue">
 /// The axis value.
 /// </param>
 /// <returns>
 /// A double value that represents the relative position (0-100%).
 /// </returns>
 public double ValueToPosition(double axisValue)
 {
     return(axis.ValueToPosition(axisValue));
 }