add charts for block reward and block size

This commit is contained in:
stoffu
2018-07-27 16:29:31 +09:00
parent 41992f4ee9
commit 5c75b160e3
3 changed files with 240 additions and 6 deletions
+5 -6
View File
@@ -47,20 +47,19 @@ var chart = AmCharts.makeChart("chartdiv", {
"marginTop": 7,
"dataProvider": chartData,
"valueAxes": [{
"axisAlpha": 0.2,
"dashLength": 1,
"position": "left",
"axisAlpha": 0,
"logarithmic": true
}],
"mouseWheelZoomEnabled": true,
"graphs": [{
"id": "g1",
"lineColor": "#67B7DC",
"balloonText": "Diff: <b>[[value]]</b>\nHeight: <b>[[height]]</b>",
"bullet": "round",
"bulletBorderAlpha": 1,
"bulletColor": "#FFFFFF",
"hideBulletsCount": 50,
"title": "red line",
"title": "difficulty",
"valueField": "difficulty",
"useLineColorForBulletBorder": true,
"balloon":{
@@ -73,7 +72,6 @@ var chart = AmCharts.makeChart("chartdiv", {
"scrollbarHeight": 40
},
"chartCursor": {
"limitToGraph":"g1",
"pan": false
},
"categoryField": "date",
@@ -85,7 +83,8 @@ var chart = AmCharts.makeChart("chartdiv", {
"minorGridEnabled": true
},
"export": {
"enabled": true
"enabled": true,
"position": "bottom-right"
}
});