Beispiel #1
0
 /**
  * An object with members to configure various tooltip elements. To specify
  * properties of this object, create a new tooltip() object, set the values
  * then pass it to this function or to the constructor.
  *
  * @uses   Tooltip
  * @param  Tooltip            $t
  * @throws InvalidConfigValue
  *
  * @return Chart
  */
 public function tooltip(Tooltip $t)
 {
     return $this->addOption($t->toArray());
 }
 /**
  * An object with members to configure various tooltip elements. To specify
  * properties of this object, create a new tooltip() object, set the values
  * then pass it to this function or to the constructor.
  *
  * @uses   Tooltip
  * @param  Tooltip            $t
  * @throws InvalidConfigValue
  *
  * @return Chart
  */
 public function tooltip(Tooltip $t)
 {
     return $this->addOption($t->toArray(__FUNCTION__));
 }