diff --git a/kallithea/templates/summary/statistics.html b/kallithea/templates/summary/statistics.html --- a/kallithea/templates/summary/statistics.html +++ b/kallithea/templates/summary/statistics.html @@ -158,7 +158,13 @@ function SummaryPlot(from,to,dataset,ove var plot_options = { bars: {show:true, align: 'center', lineWidth: 4}, - legend: {show:true, container: "#legend_container"}, + legend: {show:true, + container: "#legend_container", + labelFormatter: function(label, series) { + // series is the series object for the label + return ' ' + label + ''; + } + }, points: {show:true, radius: 0, fill: false}, yaxis: {tickDecimals: 0}, xaxis: { @@ -216,7 +222,7 @@ function SummaryPlot(from,to,dataset,ove i++; if(data[pos].label != ''){ choiceContainerTable.innerHTML += - '