Skip to content

Commit

Permalink
graph made dynamic
Browse files Browse the repository at this point in the history
  • Loading branch information
josephv7 committed Nov 10, 2018
1 parent 1a7bc3b commit b8a92d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/score.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
};
app = firebase.initializeApp(config);
if (app) {
firebase.database().ref().child('Score').child('House').once("value", function (snapshot) {
firebase.database().ref().child('Score').child('House').on("value", function (snapshot) {
google.charts.load("current", { packages: ["corechart"] });
google.charts.setOnLoadCallback(drawChart);
function drawChart() {
Expand Down

0 comments on commit b8a92d3

Please sign in to comment.