explain markerColor, fix PNG chart options

This commit is contained in:
Joshua Seigler 2016-07-03 04:32:38 -04:00
parent 7546d31a60
commit c79e3b2267
2 changed files with 3 additions and 1 deletions

View file

@ -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);