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",
    ...
))

Get started with KoolReport

KoolReport will help you to construct good php data report by gathering your data from multiple sources, transforming them into valuable insights, and finally visualizing them in stunning charts and graphs.