protected float ValueToPositionRelative(double value) { return -ScaleX + 1 + (float)(2 * (value - mStart) * (ScaleX - 1) / mValueWidth); }