Skip to content

Commit

Permalink
fix(graphite): Fixed issue graphite png rendering option, fixes grafa…
Browse files Browse the repository at this point in the history
  • Loading branch information
torkelo committed Apr 30, 2016
1 parent 70d03b7 commit 36c583d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* **Dashboard title**: Fixed max dashboard title width (media query) for large screens, fixes [#4859](https://github.com/grafana/grafana/issues/4859)
* **Annotations**: Fixed issue with entering annotation edit view, fixes [#4857](https://github.com/grafana/grafana/issues/4857)
* **Remove query**: Fixed issue with removing query for data sources without collapsable query editors, fixes [#4856](https://github.com/grafana/grafana/issues/4856)
* **Graphite PNG*: Fixed issue graphite png rendering option, fixes [#4864](https://github.com/grafana/grafana/issues/4864)

# 3.0.0-beta6 (2016-04-29)

Expand Down
2 changes: 1 addition & 1 deletion public/app/plugins/datasource/graphite/datasource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'};
Expand Down

0 comments on commit 36c583d

Please sign in to comment.