public function refrigeratorUtilizationPieAction()
 {
     $ccm_warehouse = new Model_CcmWarehouses();
     $data_arr = $ccm_warehouse->getElectricityAvailabilityByFType();
     $search_form = new Form_ReportsSearch();
     $main_heading = "Refrigerator/freezer utilization";
     $str_sub_heading = "";
     $number_prefix = "";
     $number_suffix = "%";
     $s_number_prefix = "";
     //App_Controller_Functions::pr($data_arr);
     $xmlstore = "<?xml version=\"1.0\"?>";
     $xmlstore .= '<chart caption="' . $main_heading . '" subCaption="' . $str_sub_heading . '" numberPrefix="' . $number_prefix . '" numberSuffix="' . $number_suffix . '" sformatNumberScale="1" sNumberPrefix="' . $s_number_prefix . '" syncAxisLimits="1" rotateValues="1" showSum="0" theme="fint">';
     $xmlstore .= '<set label="Less than 8hrs/24hrs" value="' . $data_arr['<8hrs/24hrs'] . '"/>';
     $xmlstore .= '<set label="8 to 16hrs/24hrs" value="' . $data_arr['8to16hrs/24hrs'] . '"/>';
     $xmlstore .= '<set label="More than 16hrs/24hrs" value="' . $data_arr['>16hrs/24hrs'] . '"/>';
     $xmlstore .= '<set label="None" value="' . $data_arr['none'] . '"/>';
     $xmlstore .= "</chart>";
     $this->view->xmlstore = $xmlstore;
     $this->view->main_heading = $main_heading;
     $this->view->str_sub_heading = $str_sub_heading;
     $this->view->chart_type = 'Pie3D';
     $this->view->width = '80%';
     $this->view->height = '400';
     $this->view->search_form = $search_form;
     $this->view->inlineScript()->appendFile(Zend_Registry::get('baseurl') . '/js/all_level_area_combo.js');
 }