From 1492e00318115967b3f6bf45148ba0e3638c1cc9 Mon Sep 17 00:00:00 2001 From: Akinwale Ariwodola Date: Sat, 17 Jun 2017 09:52:35 +0100 Subject: [PATCH] block size chart scrollbar and display tweaks --- src/Template/Main/blocks.ctp | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/Template/Main/blocks.ctp b/src/Template/Main/blocks.ctp index 8e1cd1e..4a04828 100644 --- a/src/Template/Main/blocks.ctp +++ b/src/Template/Main/blocks.ctp @@ -166,7 +166,7 @@ parseDates: true, minPeriod: minPeriod, // DD for daily minorGridEnabled: true, - axisColor: '#DADADA', + axisColor: '#dadada', twoLineMode: true, dateFormats: [{ period: 'fff', @@ -207,7 +207,7 @@ bulletSize: 6, useLineColorForBulletBorder: true, lineColor: '#1e88e5', - hideBulletsCount: 30, + hideBulletsCount: 101, balloonText: '[[AvgBlockSize]] KB', switchable: false, balloonFunction: function(item, graph) { @@ -235,7 +235,7 @@ } return result.replace('[[AvgUSD]]', item.dataContext.AvgUSD.toFixed(2)); }, - hideBulletsCount: 30, + hideBulletsCount: 101, labelFunction: function(value) { return '$' + value; }, @@ -249,7 +249,12 @@ cursorColor: '#1e88e5', categoryBalloonDateFormat: minPeriod === 'hh' ? 'D MMM HH:NN ' : 'D MMM' }, - chartScrollbar: {}, + chartScrollbar: { + autoGridCount: true, + scrollbarHeight: 36, + color: '#888888', + gridColor: '#bbbbbb' + }, legend: { marginLeft: 110, useGraphSettings: true,