diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-07-03 07:37:12 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-07-03 08:13:09 +0200 |
commit | 88534ba623421c956d8ffcda2d27f41d704d15ef (patch) | |
tree | fccc55245aec3f7381cd525a1355568e10ea37f4 /eigen/bench/perf_monitoring/resources/chart_footer.html | |
parent | 3ee09beb3f0458fbeb0b0e816f854b9d5b406e6b (diff) |
update eigen
Diffstat (limited to 'eigen/bench/perf_monitoring/resources/chart_footer.html')
-rw-r--r-- | eigen/bench/perf_monitoring/resources/chart_footer.html | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/eigen/bench/perf_monitoring/resources/chart_footer.html b/eigen/bench/perf_monitoring/resources/chart_footer.html deleted file mode 100644 index 8acc69f..0000000 --- a/eigen/bench/perf_monitoring/resources/chart_footer.html +++ /dev/null @@ -1,37 +0,0 @@ - /* setup the chart and its options */ - var chart = nv.models.lineChart() - .color(d3.scale.category10().range()) - .margin({left: 75, bottom: 100}) - .forceX([0]).forceY([0]); - - chart.x(function(datum){ return datum.r; }) - .xAxis.options({ - axisLabel: customSettings.XLABEL || 'Changeset', - tickFormat: d3.format('.0f') - }); - chart.xAxis - .tickValues(changesets_count) - .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.useInteractiveGuideline(true); - d3.select('#chart').datum(data).call(chart); - var plot = d3.select('#chart > g'); - - /* setup the title */ - plot.append('text') - .style('font-size', '24px') - .attr('text-anchor', 'middle').attr('x', '50%').attr('y', '20px') - .text(customSettings.TITLE || ''); - - /* ensure the chart is responsive */ - nv.utils.windowResize(chart.update); - </script> - </body> -</html>
\ No newline at end of file |