getFactor method
Returns the factor that is needed to transform values into pixels.
@return
Implementation
double getFactor() {
Rect content = viewPortHandler!.getContentRect();
return min(content.width / 2, content.height / 2) / _yAxis!.axisRange;
}