/**
  *
  * @Title: hrEmployeesEduChart
  * @Description: todo(文化程度统计)
  * @author renling
  * @date 2014-3-28 下午3:50:37
  * @throws
  */
 public function hrEmployeesEduChart()
 {
     //引入Chart
     import('@.ORG.BaseCharts.Highcharts');
     //创建chart对象
     $chart = new Highcharts();
     //设置x坐标
     $chart->setX('name');
     //设置Y坐标orderno
     $chart->setY('count');
     $this->assign("defaultSelect", 2);
     $this->assign("title", "员工文化程度统计");
     $chart->setTitle('文化程度');
     $list = $this->eduList();
     $this->assign("headerFormat", "<span>{point.key}:</span>");
     $this->assign("pointFormat", "<b>{point.y}</b>人");
     $this->assign("text", "人数(人)");
     $this->assign("distype", "pie");
     //生成图表
     $chart->builderChart(Highcharts::$SINGLE_SERIES, $list);
     $this->assign("xAxis", $chart->getCategories());
     $this->assign("series", $chart->getResults());
 }