mirror of
https://github.com/seigler/cryptohistory.org
synced 2025-07-27 01:36:11 +00:00
fix png rendering, needs XML tag
This commit is contained in:
parent
ce37d1eb9c
commit
6f7db1cdc5
1 changed files with 2 additions and 1 deletions
|
@ -128,7 +128,8 @@ function renderChart(
|
|||
}
|
||||
|
||||
$poloniexChart = new NeatCharts\LineChart($chartData, $themes[$theme]);
|
||||
$result = $poloniexChart->render();
|
||||
$result = '<?xml version="1.0" standalone="no"?>' . PHP_EOL;
|
||||
$result .= $poloniexChart->render();
|
||||
|
||||
if ($format == 'png') {
|
||||
$im = new Imagick();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue