@Override
public void draw(final Canvas canvas) {
super.draw(canvas);
int y = 0;
final int height = (getSize().getHeight() - 5) / histogramAxis.getNoBars();
final Text text = Toolkit.getText(ColorsAndFonts.TEXT_LABEL);
final Color color = Toolkit.getColor(ColorsAndFonts.COLOR_PRIMARY1);
canvas.drawText(getContent().title(), 0, height / 2 + text.getAscent() / 2, color, text);
for (int i = 0; i < histogramAxis.getNoBars(); i++) {
final double length = (getSize().getWidth() - 160) * histogramAxis.getLengthFor(getContent(), i);
canvas.drawSolidRectangle(160, y, (int) length, height, Toolkit.getColor(colors[i % colors.length]));
canvas.drawRectangle(160, y, (int) length, height, Toolkit.getColor(ColorsAndFonts.COLOR_BLACK));