Commit 4d996f9
authored
Fix incorrect export resolution (#45)
The `Resolution` property was not being considered at the very end.
For example, if one doubles the `Width`, `Height`, and `Resolution` (to 1400x800 at 196ppi), the output PNG would be 1400x800, but the rendered chart would be 700x400 in the top-left corner of the PNG (with the rest transparent)1 parent b342491 commit 4d996f9
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
| 121 | + | |
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
0 commit comments