1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

Feature #3264: Fix total formatting

This commit is contained in:
Carlos Martín 2014-11-12 11:55:47 +01:00
parent 37912f4d83
commit 190fb74605

View File

@ -4995,7 +4995,7 @@ function fillShowback(div, req, response) {
var showback_data = [];
$.each(vms_per_date, function(year, months){
$.each(months, function(month, value){
series.push([(new Date(year, month-1)).getTime(), year, month, $months[month-1] + " " + year, value.TOTAL])
series.push([(new Date(year, month-1)).getTime(), year, month, $months[month-1] + " " + year, value.TOTAL.toFixed(2)])
showback_data.push([(new Date(year, month-1)), value.TOTAL.toFixed(2) ])
})
})