In TrendViewController add enum RangeScale, function rangeScale(range:)
In TrendViewController add enum RangeScale, function rangeScale(range:)

DiabetesCompass/Diabetes_Compass,DiabetesCompass/Diabetes_Compass