koolreport/charttable is package to show in both chart and table together.
- Download and unzip the zipped file.
- Copy the folder
- Reference to the ChartTable widget by the classname
To use the
ChartTable widget, beside ChartTable package you need the
Chartjs packages as well.
ChartTable you only need to define its
\koolreport\charttable\ChartTable::create(array( "name" => "charttable1", "dataSource" => $this->dataStore('myDatastore') ));
|string||Optional. You can set the name for your charttable if you want to refer to the table later on at client-side. If you don't set we will set random name for table|
|DataStore||Specify a dataStore, an array or a function that data table will get data from|
|Array||Optional. Set charttable's columns instead of using its datastore's columns|
|Array||Optional. Set charttable's DataTables object's options|
Please use our forum if you need support, by this way other people can benefit as well. If the support request need privacy, you may send email to us at email@example.com.
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.