SteppedAreaChart
Overview #
ClassName: \koolreport\widgets\google\SteppedAreaChart
A stepped area chart that is rendered within the browser using SVG or VML. Displays tips when hovering over steps.
Example #
Code:
<?php
\koolreport\widgets\google\SteppedAreaChart::create(array(
"title"=>"Accumulated Rating",
"dataSource"=>array(
array("Director (Year)","Rotten Tomatoes","IMDB"),
array("Alfred Hitchcock (1935)",8.4,7.9),
array("Ralph Thomas (1959)",6.9,6.5),
array("Don Sharp (1978)",6.5,6.4),
array("James Hawes (2008)",4.4,6.2)
),
"options"=>array(
"isStacked"=>true
)
));
100% Stacked #
Code:
\koolreport\widgets\google\SteppedAreaChart::create(array(
...
"options"=>array(
"isStacked"=>"relative"
)
));
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.