Closed yusukeh closed 9 years ago
success: function(metricResult) { var datapoints = metricResult[0].points; var newDatapoints = _.map(datapoints, function(datapoint) { //return { x: datapoint[0], y: datapoint[datapoint.length - 1] } return { x: datapoint[0], y: parseFloat(datapoint[2]) } }) metric.update(newDatapoints) }
Can you elaborate on your issue? I'm not sure if this is supposed to be a patch or what. Thanks!
I suspect that this is related to #97
fixed in https://github.com/obfuscurity/tasseo/pull/102