*/
public static ChartImpl createChart(String subtype){
logger.debug("IN");
ChartImpl sbi=null;
if(subtype.equalsIgnoreCase("Speedometer")){
sbi=new Speedometer();
logger.debug("Speedometer chart instanciated");
}
else if(subtype.equalsIgnoreCase("SimpleDial")){
sbi= new SimpleDial();
logger.debug("SimpleDial chart instanciated");