getScaleUpperLimit method
find scale highest value
Implementation
double getScaleUpperLimit(Size size) {
switch (gaugeOrientation) {
case GaugeOrientation.horizontal:
return size.height * kUpperScaleLimitHorizontal;
case GaugeOrientation.vertical:
return size.height / kUpperScaleLimitVertical;
}
}