Skip to content

Commit 7493dc9

Browse files
arnaudgoulpeauArnaud
andauthored
add option devicePixelRatio on toBinary method (thus also toFile) (#11)
closes #10 Co-authored-by: Arnaud <nsslive@hotmail.com>
1 parent 5eaf960 commit 7493dc9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

QuickChart.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ function toBinary() {
125125
$ch = curl_init($this->getRootEndpoint() . '/chart');
126126
$postData = array(
127127
'backgroundColor' => $this->backgroundColor,
128+
'devicePixelRatio' => $this->devicePixelRatio,
128129
'width' => $this->width,
129130
'height' => $this->height,
130131
'format' => $this->format,

0 commit comments

Comments
 (0)