public synchronized void addChartListener(ChartListener cl){
  m_listeners.addElement(cl);
}

public synchronized void addChartListener ( ChartListener cl ) { m_listeners . addElement ( cl ) ; }
add a chart listener
