public String getChartMin() { if (min != Double.MAX_VALUE) { return AbstractActivityView.convertLastValueForDisplay(min, definition); } else { return ""; } }
public String getChartAverage() { if (average != 0.0) { return AbstractActivityView.convertLastValueForDisplay(average, definition); } else { return ""; } }