KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

How to change color scheme for Google Charts? #21

Open Peter Williams opened this topic on on Jun 10, 2017 - 2 comments

Peter Williams commented on Jun 10, 2017

From the KoolReport 1.27.6, you can set color schemes for Google Charts. If you do not set then google charts will use its default color schemes

<?php
LineChart::create(array(
    ...
    "colorScheme"=>array("#000","#444","#888","#ccc");
    ...
))
?>

Now your charts will appear in gray color scale.

KoolReport commented on Jun 10, 2017

Thump up

Peter Williams commented on Jun 10, 2017

:D

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
wiki

None