Created
February 3, 2015 10:08
-
-
Save vongohren/8cfe2a64c02e816d14b3 to your computer and use it in GitHub Desktop.
updatedededed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var valueUpdated = function(snapshot) { | |
var name = this.props.name; | |
if(chart) { | |
var series = chart.series[0]; | |
var x = Date.now(); | |
series.addPoint([x, snapshot.val().watervalue], true, true) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment