public void createChartAd()
	{
		setPieChartAd(new PieChartModel());
		
		setHost("root.intt.tn");
		
		setPriority("emerg");
		int emerg= getfacilityByHost().size();
		if(emerg!=0)
		pieChartAd.set("Emergency", emerg);
		
		
		setPriority("Alert");
		int alert= getfacilityByHost().size();
		if(alert!=0)
		pieChartAd.set("Alert",alert);

		setPriority("crit");
		int crit= getfacilityByHost().size();
		if(crit!=0)
		pieChartAd.set("Critical", crit);
		
		setPriority("err");
		int err= getfacilityByHost().size();
		if(err!=0)
		pieChartAd.set("error",err);
		
		setPriority("warning");
		int warning= getfacilityByHost().size();
		if(warning!=0)
		pieChartAd.set("Warning",warning);
	
		
		setPriority("notice");
		int notice= getfacilityByHost().size();
		if(notice!=0)
		pieChartAd.set("Notice",notice);
		
		setPriority("info");
		int info= getfacilityByHost().size();
		if(info!=0)
		pieChartAd.set("Information",info);
		
		setPriority("debug");
		int debug= getfacilityByHost().size();
		if(debug!=0)
		pieChartAd.set("Debug",debug);
		
	}