FAH credits - FLDC
by Robert Ross
HTML
<script src="http://code.highcharts.com/highcharts.js"></script>
<script src="http://code.highcharts.com/modules/exporting.js"></script>
<!-test>
<div id="container" style="min-width: 310px; height: 400px; margin: 0 auto"></div>
<center><h1>Welcome to the FoldingCoin Inc Stats Page!</h1></center>
<p>We are currently in the process of creating a stats page for all of the FLDC participants and the stats for the respective tokens that will be built on the "Merged Folding" platform. Below is a road map of the way that we envision that stats page to be like. The road map picture is a visio type diagram and below that is a document that spells out in detail the various parts of the visio diagram. If you have suggestions to change this format, or think that you have an idea that would fit well into the stats page please send <a href="mailto:rross@foldingcoin.net">rross@foldingcoin.net</a> or <a href="mailto:jsewell@foldingcoin.net">jsewell@foldingcoin.net</a> an email with the suggestions. If anyone would like to help build the stats page, please also send us an email. Thanks</p>
<h3>Road Map for the stats page</h3>
<img width="100%" src="https://docs.google.com/drawings/d/1mVT43Vrmdn8Xq_qLRFWt95Ymlk0QE_U00lCS2LddzDk/pub?w=4845&h=2913">
<h3>Table of contents for the Roadmap</h3>
<iframe width="100%" height="700" src="https://docs.google.com/document/d/1iPE4_4VaQitgVvvq1rQ5mr9CbeiXz0UA9N4qEBcP6fo/pub?embedded=true"></iframe>
JavaScript
$(function () {
$('#container').highcharts({
chart: {
zoomType: 'x'
},
title: {
text: 'Total FAH credits from all FLDC Participants'
},
subtitle: {
text: document.ontouchstart === undefined ?
'Click and drag in the plot area to zoom in' :
'Pinch the chart to zoom in'
},
xAxis: {
type: 'datetime',
minRange: 14 * 24 * 3600000 // fourteen days
},
yAxis:
{
floor: 0,
title: {
text: 'FAH credits'
}
},
legend: {
enabled: false
},
plotOptions: {
area: {
fillColor: {
linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1},
stops: [
[0, Highcharts.getOptions().colors[0]],
[1, Highcharts.Color(Highcharts.getOptions().colors[0]).setOpacity(0).get('rgba')]
]
},
marker: {
radius: 2
},
lineWidth: 1,
states: {
hover: {
lineWidth: 1
}
},
threshold: null
}
},
series: [{
type: 'area',
name: 'FAH Credits',
pointInterval: 24 * 3600 * 1000,
pointStart: Date.UTC(2014, 7, 11),
data: [
647971, 552313, 858853, 810295, 1351310, 1129830, 1032309, 1380279, 1215457, 1247725, 1463651, 1342269, 1454558, 2108854, 2489991, 3042274, 3042274, 4368723, 4593053, 4882192, 4200880, 3435476, 3293815, 4036370, 3992053, 3556307, 4399959, 4384747, 4715397, 4149113, 5014284, 4293911, 4227068, 4361498, 4448906, 5544655, 6740332, 6054371, 6620695, 5803750, 6823795, 6504097, 6151589, 5590248, 7829834, 7890389, 5476314,...