Skip to content

Commit

Permalink
Update dashboard.html
Browse files Browse the repository at this point in the history
Changed default refresh rate to 5 seconds
  • Loading branch information
jtandy committed Nov 1, 2013
1 parent a40b540 commit f855c49
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions edc-google-charts-dashboard/src/main/webapp/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
chartType: 'Table',
dataSourceUrl: dsUrl+'?topic='+encodeURIComponent(username+'/+/sample/#'),
query: "SELECT account, asset, semanticTopic, receivedOn, int, dbl, flt format receivedOn 'MMM dd, yyyy HH:mm:ss.SSS'",
refreshInterval: 60,
refreshInterval: 5,
options: {
height: 200
},
Expand All @@ -78,7 +78,7 @@
chartType: 'LineChart',
dataSourceUrl: dsUrl+'?topic='+encodeURIComponent(username+'/+/sample/#'),
query: "SELECT receivedOn, dbl, flt format receivedOn 'MMM dd, yyyy HH:mm:ss.SSS'",
refreshInterval: 60,
refreshInterval: 5,
options: {
curveType: 'function',
legend: {position: 'top'},
Expand All @@ -95,7 +95,7 @@
chartType: 'Gauge',
dataSourceUrl: dsUrl+'?topic='+encodeURIComponent(username+'/+/sample/data')+'&limit=1',
query: "SELECT dbl, flt LABEL dbl 'DBL', flt 'FLT' FORMAT dbl '#.##', flt '#.##'",
refreshInterval: 60,
refreshInterval: 5,
options: {
min: 0, max: 1,
minorTicks: 2,
Expand All @@ -113,20 +113,20 @@
chartType: 'Table',
dataSourceUrl: dsUrl+'?topic='+encodeURIComponent(username+'/+/sample/#')+'&limit=10',
query: "SELECT semanticTopic, avg(dbl), avg(flt), avg(int) GROUP BY semanticTopic FORMAT avg(dbl) '#.##', avg(flt) '#.##'",
refreshInterval: 60,
refreshInterval: 5,
options: {
height: 200
},
containerId: 'chart_table_avg'
});
wrapper.draw();

// PieChart
// Scatter Chart
var wrapper = new google.visualization.ChartWrapper({
chartType: 'ScatterChart',
dataSourceUrl: dsUrl+'?topic='+encodeURIComponent(username+'/+/sample/#'),
query: "SELECT dbl, flt FORMAT dbl '#.##', flt '#.##'",
refreshInterval: 60,
refreshInterval: 5,
options: {
hAxis: {title: 'dbl', minValue: 0, maxValue: 1},
vAxis: {title: 'flt', minValue: 0, maxValue: 1},
Expand Down

0 comments on commit f855c49

Please sign in to comment.