function __construct(dmBaseServiceContainer $serviceContainer, array $options = array()) { $this->serviceContainer = $serviceContainer; $this->options = array_merge($this->getDefaultOptions(), $options); parent::pChart($this->getWidth(), $this->getHeight()); $this->initialize($options); }