Created
January 30, 2018 21:41
-
-
Save ToeJamson/b0b76f406d30fdd4c8f001518f48f1a3 to your computer and use it in GitHub Desktop.
crypto tracker
This file contains hidden or 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
| eon.chart({ | |
| channels: ['bitcoin-feed'], | |
| history: true, | |
| flow: true, | |
| limit: pointLimit, | |
| pubnub: pubnub, | |
| generate: { | |
| bindto: '#bitcoinChart', | |
| data: eonData, | |
| axis: eonAxis | |
| } | |
| }); | |
| // Create the Ether Chart for BitCoin and bind its div | |
| eon.chart({ | |
| channels: ['ether-feed'], | |
| history: true, | |
| flow: true, | |
| limit: pointLimit, | |
| pubnub: pubnub, | |
| generate: { | |
| bindto: '#etherChart', | |
| data: eonData, | |
| axis: eonAxis | |
| } | |
| }); | |
| // Create the LiteCoin Chart for BitCoin and bind its div | |
| eon.chart({ | |
| channels: ['litecoin-feed'], | |
| history: true, | |
| flow: true, | |
| limit: pointLimit, | |
| pubnub: pubnub, | |
| generate: { | |
| bindto: '#liteCoinChart', | |
| data: eonData, | |
| axis: eonAxis | |
| } | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment