Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines
You can try "interpolateNulls" option in case some of your values are null:
// MyReport.view.php
LineChart::create(array(
...
"options" => array(
"interpolateNulls" => true,
...
),
));
If you want to skip 0 values as well, convert 0 to null with Map process:
// MyReport.php
->pipe(new \koolreport\processes\Map(array(
"{value}" => function($row) {
foreach ($row as $k => $v) {
if ($v === 0) $row[$k] = null;
}
return $row;
}
)))
Let KoolReport help you to make great reports. It's free & open-source released under MIT license.
Download KoolReport View demo