Reimplement daily commits count in jquery.flot.