Public Member Functions | |
__construct () | |
setData (array $data) | |
getData () | |
addElement ($element) | |
setBase ($base) | |
getBase () | |
getSize () | |
getMin () | |
setMax ($max) | |
getMax () | |
getMinMax () | |
getStepSize () | |
Static Public Member Functions | |
static | create () |
Private Member Functions | |
calculateMax () | |
Private Attributes | |
$data = array() | |
$minMax = null | |
$base = null |
Definition at line 15 of file GoogleChartDataSet.class.php.
GoogleChartDataSet::__construct | ( | ) |
Definition at line 31 of file GoogleChartDataSet.class.php.
References create().
GoogleChartDataSet::addElement | ( | $ | element | ) |
Definition at line 54 of file GoogleChartDataSet.class.php.
GoogleChartDataSet::calculateMax | ( | ) | [private] |
Definition at line 122 of file GoogleChartDataSet.class.php.
References MathUtils::alignByBase().
Referenced by getMax().
static GoogleChartDataSet::create | ( | ) | [static] |
Definition at line 26 of file GoogleChartDataSet.class.php.
Referenced by GooglePieChart::__construct(), and __construct().
GoogleChartDataSet::getBase | ( | ) |
Definition at line 74 of file GoogleChartDataSet.class.php.
GoogleChartDataSet::getData | ( | ) |
Definition at line 46 of file GoogleChartDataSet.class.php.
Referenced by GoogleChartDataTextEncoding::encode(), and GoogleChartDataSimpleEncoding::encode().
GoogleChartDataSet::getMax | ( | ) |
Definition at line 96 of file GoogleChartDataSet.class.php.
References calculateMax().
Referenced by getStepSize().
GoogleChartDataSet::getMin | ( | ) |
Definition at line 84 of file GoogleChartDataSet.class.php.
GoogleChartDataSet::getMinMax | ( | ) |
Definition at line 104 of file GoogleChartDataSet.class.php.
GoogleChartDataSet::getSize | ( | ) |
Definition at line 79 of file GoogleChartDataSet.class.php.
GoogleChartDataSet::getStepSize | ( | ) |
Definition at line 109 of file GoogleChartDataSet.class.php.
References getMax(), and Assert::isTrue().
GoogleChartDataSet::setBase | ( | $ | base | ) |
Definition at line 64 of file GoogleChartDataSet.class.php.
References $base.
GoogleChartDataSet::setData | ( | array $ | data | ) |
Definition at line 39 of file GoogleChartDataSet.class.php.
GoogleChartDataSet::setMax | ( | $ | max | ) |
Definition at line 89 of file GoogleChartDataSet.class.php.
GoogleChartDataSet::$base = null [private] |
Definition at line 21 of file GoogleChartDataSet.class.php.
Referenced by setBase().
GoogleChartDataSet::$data = array() [private] |
Definition at line 17 of file GoogleChartDataSet.class.php.
GoogleChartDataSet::$minMax = null [private] |
Definition at line 19 of file GoogleChartDataSet.class.php.