/** * Prepare chart data * * @return void */ protected function _prepareData() { $this->setDataHelperName('adminhtml/dashboard_order'); $this->getDataHelper()->setParam('store', $this->getRequest()->getParam('store')); $this->getDataHelper()->setParam('website', $this->getRequest()->getParam('website')); $this->getDataHelper()->setParam('group', $this->getRequest()->getParam('group')); $this->setDataRows('revenue'); $this->_axisMaps = array('x' => 'range', 'y' => 'revenue'); parent::_prepareData(); }
/** * Prepare chart data * * @return void */ protected function _prepareData() { $this->setDataHelperName('Mage_Adminhtml_Helper_Dashboard_Order'); $this->getDataHelper()->setParam('store', $this->getRequest()->getParam('store')); $this->getDataHelper()->setParam('website', $this->getRequest()->getParam('website')); $this->getDataHelper()->setParam('group', $this->getRequest()->getParam('group')); $this->setDataRows('quantity'); $this->_axisMaps = array('x' => 'range', 'y' => 'quantity'); parent::_prepareData(); }