AccumulativeColumn

Introduction #

AccumulativeColumn helps you to create a running total from a column.

Example #

<?php
use \koolreport\processes\AccumulativeColumn;
class MyReport extends \koolreport\KoolReport
{
    public function setup()
    {
        ...
        ->pipe(new AccumulativeColumn(array(
            "running_total"=>"total"
        )))
        ...
    }
}

Results:

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.