diff options
author | jose.lausuch <jose.lausuch@ericsson.com> | 2016-09-01 10:44:01 +0200 |
---|---|---|
committer | jose.lausuch <jose.lausuch@ericsson.com> | 2016-09-01 10:44:01 +0200 |
commit | d6f164dc96576a93d5472a95878a79b8167b5898 (patch) | |
tree | 9d2918ade259342efa057b9b19db7400d4250dc9 /tools/infra-dashboard/js/test_graph.js | |
parent | dd44ecc402ca86cbcd02042229a42d3346e53d3d (diff) |
Remove first prototype of the Pharos Dashboard
The Dashboard implementation from Max is im progress and
more advanced than the initial one. It doesn't make sense
to maintain both of them.
Change-Id: Iabea63a7e5b6e8d64cb72b8de2264c5c4484eae8
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'tools/infra-dashboard/js/test_graph.js')
-rw-r--r-- | tools/infra-dashboard/js/test_graph.js | 108 |
1 files changed, 0 insertions, 108 deletions
diff --git a/tools/infra-dashboard/js/test_graph.js b/tools/infra-dashboard/js/test_graph.js deleted file mode 100644 index 1d1d5e43..00000000 --- a/tools/infra-dashboard/js/test_graph.js +++ /dev/null @@ -1,108 +0,0 @@ -$(function () { - - // Get the CSV and create the chart - $.getJSON('https://www.highcharts.com/samples/data/jsonp.php?filename=analytics.csv&callback=?', function (csv) { - - $('#container').highcharts({ - - data: { - csv: csv - }, - - title: { - text: 'Daily visits at www.highcharts.com' - }, - - subtitle: { - text: 'Source: Google Analytics' - }, - - xAxis: { - tickInterval: 7 * 24 * 3600 * 1000, // one week - tickWidth: 0, - gridLineWidth: 1, - labels: { - align: 'left', - x: 3, - y: -3 - } - }, - - yAxis: [{ // left y axis - title: { - text: null - }, - labels: { - align: 'left', - x: 3, - y: 16, - format: '{value:.,0f}' - }, - showFirstLabel: false - }, { // right y axis - linkedTo: 0, - gridLineWidth: 0, - opposite: true, - title: { - text: null - }, - labels: { - align: 'right', - x: -3, - y: 16, - format: '{value:.,0f}' - }, - showFirstLabel: false - }], - - legend: { - align: 'left', - verticalAlign: 'top', - y: 20, - floating: true, - borderWidth: 0 - }, - - tooltip: { - shared: true, - crosshairs: true - }, - - plotOptions: { - series: { - cursor: 'pointer', - point: { - events: { - click: function (e) { - hs.htmlExpand(null, { - pageOrigin: { - x: e.pageX || e.clientX, - y: e.pageY || e.clientY - }, - headingText: this.series.name, - maincontentText: Highcharts.dateFormat('%A, %b %e, %Y', this.x) + ':<br/> ' + - this.y + ' visits', - width: 200 - }); - } - } - }, - marker: { - lineWidth: 1 - } - } - }, - - series: [{ - name: 'All visits', - lineWidth: 4, - marker: { - radius: 4 - } - }, { - name: 'New visitors' - }] - }); - }); - -}); |