Project

General

Profile

« Previous | Next » 

Revision 259eb5cc

Added by Amos Benari about 13 years ago

  • ID 259eb5ccf80c335d10b635a970929c4d13989180

fixed colors and order of serias in show host page resources chart refs

View differences:

app/helpers/hosts_helper.rb
y: -10,
borderWidth: 0
},
colors: [
'#AA4643',
'#AA4643',
'#AA4643',
'#89A54E',
'#4572A7',
'#80699B',
'#3D96AE',
'#DB843D',
'#92A8CD',
'#A47D7C',
'#B5CA92'
],
series: [{
name: 'Failed',
data: [ #{data[:failed].join(' ,')} ]
}, {
name: 'Failed restarts',
data: [#{data[:failed_restarts].join(' ,')}]
}, {
name: 'Skipped',
data: [#{data[:skipped].join(' ,')}]
}, {
name: 'Applied',
data: [#{data[:applied].join(' ,')}]
}, {
name: 'Restarted',
data: [#{data[:restarted].join(' ,')}]
}, {
name: 'Skipped',
data: [#{data[:skipped].join(' ,')}]
}]
});

Also available in: Unified diff