Bullet

Overview #

Classname: \koolreport\sparklines\Bullet

Properties #

nametypedefaultdescription
dataSourcemixedSet the datastore or other forms from which chart will read
columnstringThe column name in datastore from which chart will read
dataarrayDirectly set data for the sparkline chart if you do not want to use the dataStore and column property
widthstring"20px"Set the width of chart
heightstring"20px"Set the height of chart
optionsarraySet extra options for chart

Example #

<?php
Bullet::create(array(
    "dataStore"=>$this->dataStore("result"),
    "column"=>"amount",
))
?>