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"
    )
));