Hi,
Please advice how to use Card indicator within Dashboard using KWidget. In function onCreated() how to get the value and baseValue from function dataSource()?
protected function onCreated()
{
$this
->use(\koolreport\widgets\koolphp\Card::class)
->settings([
"title"=>"Month Sale",
"value"=>11249,
"baseValue"=>9230,
"format"=>array(
"value"=>array(
"prefix"=>"$"
)
)
]);
}
Thanks for your help.