Hi,
Please assist. I'm using D3 Waterfall with a Date on x axis. The date is filtered by a DateRangePicker. The default date is today. When the report loads I'm getting below error this seem to happen when there are no results.
This is the class for the D3 Waterfall using KWidget and rawSQL:
protected function onCreated()
{
$this
->use(\koolreport\d3\Waterfall::class)
->settings([
"columns"=>[
"theDate",
"ScoreGrowthRate"=>[
"label"=>"Growth Rate",
"suffix"=>"%",
]
],
"yAxis"=>[
"suffix"=>"%",
],
"colors"=>["#bdea74","#ff5454","#32CD32","#ff3b30"],
]);
}
When the report return a result no problem.
Awaiting you feedback urgently.