getActualValuePosition method
Implementation
double getActualValuePosition(Size size) {
final scaleLowerRangeValue = getScaleLowerLimit(size);
final scaleUpperRangeValue = getScaleUpperLimit(size);
return scaleLowerRangeValue +
((actualValue - minValue) / (maxValue - minValue)) *
(scaleUpperRangeValue - scaleLowerRangeValue);
}