fix(graphite): Fixed issue graphite png rendering option, fixes #4864

This commit is contained in:
Torkel Ödegaard
2016-04-30 16:26:25 +02:00
parent 70d03b7a1c
commit 36c583dddf
2 changed files with 2 additions and 1 deletions

View File

@@ -31,7 +31,7 @@ export function GraphiteDatasource(instanceSettings, $q, backendSrv, templateSrv
}
if (options.format === 'png') {
return $q.when(this.url + '/render' + '?' + params.join('&'));
return $q.when({data: this.url + '/render' + '?' + params.join('&')});
}
var httpOptions: any = {method: this.render_method, url: '/render'};