Skip to content

Commit

Permalink
add option devicePixelRatio on toBinary method (thus also toFile) (#11)
Browse files Browse the repository at this point in the history
closes #10

Co-authored-by: Arnaud <nsslive@hotmail.com>
  • Loading branch information
arnaudgoulpeau and Arnaud authored Mar 22, 2023
1 parent 5eaf960 commit 7493dc9
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 @@ -125,6 +125,7 @@ function toBinary() {
$ch = curl_init($this->getRootEndpoint() . '/chart');
$postData = array(
'backgroundColor' => $this->backgroundColor,
'devicePixelRatio' => $this->devicePixelRatio,
'width' => $this->width,
'height' => $this->height,
'format' => $this->format,
Expand Down

0 comments on commit 7493dc9

Please sign in to comment.