Transpose
Introduction #
Transpose
process help to transpose table, changing row to column and column to row. The new columns will be name as "c0"
, "c1"
, "c2"
to "cn"
. The "c0"
is a specical column which contains the name of column before being transposed.
Example #
<?php
use \koolreport\processes\Transpose;
class MyReport extends \koolreport\KoolReport
{
public function setup()
{
...
->pipe(new Transpose())
...
}
}
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.