Skip to content

Commit f48ea78

Browse files
committed
Widgets customizations.
1 parent 4d94676 commit f48ea78

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

api/widget.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1406,7 +1406,7 @@ ethplorerWidget.Type['tokenHistoryGrouped'] = function(element, options, templat
14061406
title: 'Token operations',
14071407
format: '#,### K',
14081408
viewWindow: {
1409-
max: 1000
1409+
max: 1250
14101410
},
14111411
},
14121412
1: {
@@ -1714,7 +1714,7 @@ ethplorerWidget.Type['tokenPriceHistoryGrouped'] = function(element, options, te
17141714
rangeStart = new Date(strFirstDate);
17151715
var date = stDate.getDate();
17161716
fnDate.setDate(date - this.options.period + 1);
1717-
rangeStart.setDate(date - (this.options.period > 60 ? 60 : this.options.period) + 1);
1717+
rangeStart.setDate(date - (this.options.period > 90 ? 90 : this.options.period) + 1);
17181718

17191719
// prepare data
17201720
var aCountData = {};
@@ -1750,7 +1750,7 @@ ethplorerWidget.Type['tokenPriceHistoryGrouped'] = function(element, options, te
17501750
if(!priceNotFound){
17511751
noPrice = false;
17521752
aData.push(['Day', 'Low', 'Open', 'Close', 'High', {type: 'string', role: 'tooltip', 'p': {'html': true}}, 'Token operations', {role: 'style'}, {type: 'string', role: 'tooltip', 'p': {'html': true}}, 'Volume', {role: 'style'}, {type: 'string', role: 'tooltip', 'p': {'html': true}}]);
1753-
if(this.options.period > 60){
1753+
if(this.options.period > 90){
17541754
fnDate = startPriceDate;
17551755
}
17561756
}

0 commit comments

Comments
 (0)