diff --git a/src/sunstone/public/js/sunstone.js b/src/sunstone/public/js/sunstone.js index c44c5ab6f7..d2ab876418 100644 --- a/src/sunstone/public/js/sunstone.js +++ b/src/sunstone/public/js/sunstone.js @@ -3989,10 +3989,6 @@ function accountingGraphs(div, opt){
\
\ \ -
\ -
\ -
\ -
\ \
\
\ @@ -4002,14 +3998,6 @@ function accountingGraphs(div, opt){
\
\
\ -
\ -
\ -
\ -
\ -
\ -
\ -
\ -
\
\
\
\ @@ -4247,7 +4235,7 @@ Download csv //-------------------------------------------------------------------------- var options = { -// colors: [ "#2ba6cb", "#707D85", "#AC5A62" ], + colors: ["#0098C3","#0A00C2","#AB00C2","#C20037","#C26B00","#78C200","#00C22A","#00B8C2"], xaxis : { mode: "time", @@ -4272,9 +4260,7 @@ Download csv stack: true }, legend : { - show : true, - noColumns: 6, - container: $("#acct_legend", div) + show : false }, grid: { borderWidth: 1, @@ -4494,8 +4480,10 @@ Download csv var thead = ''+tr("Date UTC")+''; - $.each(series.CPU_HOURS, function(key, val){ - thead += ''+group_by_prefix+key+''; + $.each(cpu_plot_data, function(i, serie){ + thead += ''+ + serie.label+''; }); thead += ''; @@ -4504,8 +4492,10 @@ Download csv thead = ''+tr("Date UTC")+''; - $.each(series.MEM_HOURS, function(key, val){ - thead += ''+group_by_prefix+key+''; + $.each(mem_plot_data, function(i, serie){ + thead += ''+ + serie.label+''; }); thead += '';