iss #19 - Return two points with from and to time and same value for graph displaying.
This commit is contained in:
@@ -120,8 +120,9 @@ function (angular, _) {
|
||||
this.handleSLAResponse = function (itservice, slaProperty, slaObject) {
|
||||
var targetSLA = slaObject[itservice.serviceid].sla[0];
|
||||
return {
|
||||
target: itservice.name,
|
||||
target: itservice.name + ' ' + slaProperty.name,
|
||||
datapoints: [
|
||||
[targetSLA[slaProperty.property], targetSLA.from * 1000],
|
||||
[targetSLA[slaProperty.property], targetSLA.to * 1000]
|
||||
]
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user