|
|
@ -380,10 +380,9 @@ public class HistoryChart extends ScrollableChart
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
pSquareFg.setColor(reverseTextColor);
|
|
|
|
pSquareFg.setColor(reverseTextColor);
|
|
|
|
|
|
|
|
|
|
|
|
float round = dpToPixels(getContext(), 2);
|
|
|
|
float round = dpToPixels(getContext(), 2);
|
|
|
|
canvas.drawRoundRect(location, round, round, pSquareBg);
|
|
|
|
canvas.drawRoundRect(location, round, round, pSquareBg);
|
|
|
|
String text = Integer.toString(date.get(Calendar.DAY_OF_MONTH)) ;
|
|
|
|
String text = Integer.toString(date.get(Calendar.DAY_OF_MONTH));
|
|
|
|
canvas.drawText(text, location.centerX(),
|
|
|
|
canvas.drawText(text, location.centerX(),
|
|
|
|
location.centerY() + squareTextOffset, pSquareFg);
|
|
|
|
location.centerY() + squareTextOffset, pSquareFg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|