/** * Where to place the axis titles, compared to the chart area. Supported values: * in - Draw the axis titles inside the the chart area. * out - Draw the axis titles outside the chart area. * none - Omit the axis titles. * * @param Annotation $a * @throws InvalidConfigValue * @return ComboChart */ public function annotations(Annotation $a) { return $this->addOption($a->toArray()); }
/** * Defines how chart annotations will be displayed. * * @param Annotation $a * @return BarChart */ public function annotations(Annotation $a) { $this->addOption($a->toArray(__FUNCTION__)); return $this; }