chrisleee / twitch-stocks

A web platform that allows you to invest in Twitch streamers with imaginary points.
GNU General Public License v3.0
21 stars 8 forks source link

Create component to display streamer data in a graph #59

Open chrisleee opened 7 years ago

chrisleee commented 7 years ago

The data for this is dependent on #39, but it's possible to create the view for this with personal test data.

I've created some arbitrary increments. We can fine tune these later.

1H: 8 pieces of data (7.5 minute increments)
1D: 96 pieces of data (15 minute increments)
1W: 84 pieces of data (120 minute increments) 1M: 60 pieces of data (720 minute increments) 1Y: 73 pieces of data (5 day increments)

Some good graphs to refer to include: https://www.coinbase.com/dashboard (must be signed in) - Heavy preference on the look of this one. http://twinge.tv/channels/dansgaming/streams/#/25920868336