block size chart scrollbar and display tweaks
This commit is contained in:
parent
edc857c352
commit
1492e00318
1 changed files with 9 additions and 4 deletions
|
@ -166,7 +166,7 @@
|
||||||
parseDates: true,
|
parseDates: true,
|
||||||
minPeriod: minPeriod, // DD for daily
|
minPeriod: minPeriod, // DD for daily
|
||||||
minorGridEnabled: true,
|
minorGridEnabled: true,
|
||||||
axisColor: '#DADADA',
|
axisColor: '#dadada',
|
||||||
twoLineMode: true,
|
twoLineMode: true,
|
||||||
dateFormats: [{
|
dateFormats: [{
|
||||||
period: 'fff',
|
period: 'fff',
|
||||||
|
@ -207,7 +207,7 @@
|
||||||
bulletSize: 6,
|
bulletSize: 6,
|
||||||
useLineColorForBulletBorder: true,
|
useLineColorForBulletBorder: true,
|
||||||
lineColor: '#1e88e5',
|
lineColor: '#1e88e5',
|
||||||
hideBulletsCount: 30,
|
hideBulletsCount: 101,
|
||||||
balloonText: '[[AvgBlockSize]] KB',
|
balloonText: '[[AvgBlockSize]] KB',
|
||||||
switchable: false,
|
switchable: false,
|
||||||
balloonFunction: function(item, graph) {
|
balloonFunction: function(item, graph) {
|
||||||
|
@ -235,7 +235,7 @@
|
||||||
}
|
}
|
||||||
return result.replace('[[AvgUSD]]', item.dataContext.AvgUSD.toFixed(2));
|
return result.replace('[[AvgUSD]]', item.dataContext.AvgUSD.toFixed(2));
|
||||||
},
|
},
|
||||||
hideBulletsCount: 30,
|
hideBulletsCount: 101,
|
||||||
labelFunction: function(value) {
|
labelFunction: function(value) {
|
||||||
return '$' + value;
|
return '$' + value;
|
||||||
},
|
},
|
||||||
|
@ -249,7 +249,12 @@
|
||||||
cursorColor: '#1e88e5',
|
cursorColor: '#1e88e5',
|
||||||
categoryBalloonDateFormat: minPeriod === 'hh' ? 'D MMM HH:NN ' : 'D MMM'
|
categoryBalloonDateFormat: minPeriod === 'hh' ? 'D MMM HH:NN ' : 'D MMM'
|
||||||
},
|
},
|
||||||
chartScrollbar: {},
|
chartScrollbar: {
|
||||||
|
autoGridCount: true,
|
||||||
|
scrollbarHeight: 36,
|
||||||
|
color: '#888888',
|
||||||
|
gridColor: '#bbbbbb'
|
||||||
|
},
|
||||||
legend: {
|
legend: {
|
||||||
marginLeft: 110,
|
marginLeft: 110,
|
||||||
useGraphSettings: true,
|
useGraphSettings: true,
|
||||||
|
|
Loading…
Reference in a new issue