Basic Usage

Register theme #

To use Amazing theme, you only need to register it on your report class like below:

class MyReport extends \koolreport\KoolReport
{
    use \koolreport\amazing\Theme;
    ...
}

As a result of above line of code, you will notice the changes in font, buttons and all of our widgets.

Bootstrap 4 inheritance #

The Amazing theme is built on top of Bootstrap 4 so it inherits features of Bootstrap 4 in term of syntax. You may take a look at Twitter Bootstrap 4 Documentation.

Chart's colorScheme #

When apply the Amazing Theme, the color scheme of Google Charts or ChartJs will change accordingly. Amazing Theme provide 2 colorSchemes which are "default" and "more". By default, the "default" scheme will be used, you may change to "more" by doing following in the chart:

\koolreport\widgets\google\ColumnChart::create(array(
    ...
    "colorScheme"=>"more",
    ...
))