mirror of
https://github.com/wownero/diff-chart.git
synced 2026-10-21 09:08:36 +02:00
add charts for block reward and block size
This commit is contained in:
@@ -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"
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user