Ejemplo n.º 1
0
 /**
  * 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();
 }
Ejemplo n.º 2
0
 /**
  * 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();
 }