format numbers
This commit is contained in:
@@ -124,6 +124,12 @@ DetailsWindow.prototype.renderGraph = function() {
|
||||
display: true,
|
||||
labelString: "Downloads"
|
||||
},
|
||||
ticks: {
|
||||
callback: function(value, index, values) {
|
||||
return formatNumber(value, 3);
|
||||
},
|
||||
beginAtZero: true
|
||||
},
|
||||
gridLines: {
|
||||
color: "rgba(100, 255, 100, .05)"
|
||||
}
|
||||
@@ -136,6 +142,12 @@ DetailsWindow.prototype.renderGraph = function() {
|
||||
display: true,
|
||||
labelString: "Views"
|
||||
},
|
||||
ticks: {
|
||||
callback: function(value, index, values) {
|
||||
return formatNumber(value, 3);
|
||||
},
|
||||
beginAtZero: true
|
||||
},
|
||||
gridLines: {
|
||||
color: "rgba(128, 128, 255, .05)"
|
||||
}
|
||||
|
Reference in New Issue
Block a user