Skip to content

Commit

Permalink
Set devicePixelRatio in POST request
Browse files Browse the repository at this point in the history
  • Loading branch information
typpo committed Aug 11, 2022
1 parent 98b16e9 commit 3e009cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions QuickChart.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ function getShortUrl() {
'backgroundColor' => $this->backgroundColor,
'width' => $this->width,
'height' => $this->height,
'devicePixelRatio' => number_format($this->devicePixelRatio, 1),
'format' => $this->format,
'chart' => $this->getConfigStr(),
);
Expand Down

0 comments on commit 3e009cb

Please sign in to comment.