diff options
Diffstat (limited to 'bench/perf_monitoring/resources/chart_footer.html')
-rw-r--r-- | bench/perf_monitoring/resources/chart_footer.html | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/bench/perf_monitoring/resources/chart_footer.html b/bench/perf_monitoring/resources/chart_footer.html index 8acc69f14..e8ef0a270 100644 --- a/bench/perf_monitoring/resources/chart_footer.html +++ b/bench/perf_monitoring/resources/chart_footer.html @@ -14,12 +14,16 @@ .tickFormat(function(d){return changesets[d]}) .rotateLabels(-90); - chart.y(function(datum){ return datum.v; }) - .yAxis.options({ - axisLabel: customSettings.YLABEL || 'GFlops'/*, - tickFormat: function(val){ return d3.format('.0f')(val) + ' GFlops'; }*/ - }); + chart.y(function(datum){ return datum.v; }) + .yAxis.options({ + axisLabel: customSettings.YLABEL || 'GFlops'/*, + tickFormat: function(val){ return d3.format('.0f')(val) + ' GFlops'; }*/ + }); + chart.tooltip.headerFormatter(function(d) { return changesets[d] + + ' <p style="font-weight:normal;text-align: left;">' + + changesets_details[d] + "</p>"; }); + //chart.useInteractiveGuideline(true); d3.select('#chart').datum(data).call(chart); var plot = d3.select('#chart > g'); |