From 1705922c00e7a8adace8924d65314af1ee92daa6 Mon Sep 17 00:00:00 2001 From: stoffu Date: Tue, 12 Nov 2019 12:10:31 +0900 Subject: [PATCH] tx-per-day: some cosmetic changes --- js/tx-per-day.js | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/js/tx-per-day.js b/js/tx-per-day.js index d206b56..3bd8c75 100644 --- a/js/tx-per-day.js +++ b/js/tx-per-day.js @@ -62,15 +62,18 @@ function get_chart(chartData, cryptonote_config, offset) { "valueAxis": "va_num", "lineColor": "#cc99ff", "lineThickness": 2, - "balloonText": "Count: [[value]]\nSize: [[tx_size_str]]", + "balloonText": "Count: [[value]]", "bullet": "round", "bulletBorderAlpha": 1, "bulletColor": "#FFFFFF", "hideBulletsCount": 50, - "title": "red line", + "title": "count", "valueField": "num_txes", "useLineColorForBulletBorder": true, + // "balloonColor": "white", "balloon":{ + // "adjustBorderColor": false, + // "borderColor": "gray", "cornerRadius": 10, } },{ @@ -78,14 +81,18 @@ function get_chart(chartData, cryptonote_config, offset) { "valueAxis": "va_size", "lineColor": "#22b681", "lineThickness": 1, - "showBalloon" : false, + "showBalloon" : true, + "balloonText": "Size: [[tx_size_str]]", "bullet": "round", "bulletBorderAlpha": 1, "bulletColor": "#FFFFFF", "hideBulletsCount": 50, - "title": "StdDev", + "title": "size", "valueField": "tx_size", "useLineColorForBulletBorder": true, + "balloon":{ + "cornerRadius": 10, + } }], "chartScrollbar": { "autoGridCount": true, @@ -93,8 +100,7 @@ function get_chart(chartData, cryptonote_config, offset) { "scrollbarHeight": 40 }, "chartCursor": { - "limitToGraph":"g_num", - "pan": false + "cursorAlpha": 0.25, }, "categoryField": "date", "categoryAxis": {