Skip to content

Instantly share code, notes, and snippets.

@ToeJamson
Created January 30, 2018 21:41
Show Gist options
  • Select an option

  • Save ToeJamson/b0b76f406d30fdd4c8f001518f48f1a3 to your computer and use it in GitHub Desktop.

Select an option

Save ToeJamson/b0b76f406d30fdd4c8f001518f48f1a3 to your computer and use it in GitHub Desktop.
crypto tracker
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