/**
  * Create a single random dataset
  *
  * @param	array		The array with TypoScript properties for the object
  * @return	object		Single dataset
  */
 private function datasetRandom($arrConf)
 {
     $intCount = $arrConf['count'];
     $intMinimum = $arrConf['minimum'];
     $intMaximum = $arrConf['maximum'];
     $boolIncludeZero = $arrConf['includeZero'] == 'true' ? TRUE : FALSE;
     $strName = $arrConf['name'];
     $objRandom = tx_pbimagegraph::factory('random', array($intCount, $intMinimum, $intMaximum, $boolIncludeZero));
     $objRandom->setName($strName);
     return $objRandom;
 }
 /**
  * Sets the dataselector to specify which data should be displayed on the
  * plot as markers and which are not
  *
  * @param	object 		Reference object
  * @param	string 		Type of selector
  * @param	array		Configuration of the data selector
  */
 function setDataSelector(&$objRef, $strValue, $arrConf)
 {
     switch ($strValue) {
         case 'noZeros':
             $objRef->setDataSelector(tx_pbimagegraph::factory('tx_pbimagegraph_DataSelector_NoZeros'));
             break;
     }
 }