mirror of
https://github.com/seigler/cryptohistory.org
synced 2025-07-27 01:36:11 +00:00
explain markerColor, fix PNG chart options
This commit is contained in:
parent
7546d31a60
commit
c79e3b2267
2 changed files with 3 additions and 1 deletions
|
@ -132,6 +132,8 @@ function renderChart(
|
|||
|
||||
if ($format == 'svg') {
|
||||
$chartOptions = array_replace($themes[$theme], ['lineColor'=>'@lineColor', 'markerColor'=>'@markerColor']);
|
||||
} else {
|
||||
$chartOptions = $themes[$theme];
|
||||
}
|
||||
|
||||
$poloniexChart = new NeatCharts\LineChart($chartData, $chartOptions);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue