id = $id; $this->size_class = $size; parent::open_flash_chart_api(); // Set title if (!empty($title)){ $this->set_title($title); } // Invoke style method $style_method = "_style_{$style}"; if (method_exists($this, $style_method)){ call_user_method($style_method, $this); } } /* ----------------------------------------------------------------- Public methods ------------------------------------------------------------------ */ /** * Get chart markup. * * @return string */ public function render() { return '