sfchart - 2006-12-07

Can u point me to working example of code for xy graph. I am getting class cast excetion for XYDataSeries dataset. All help is appreciated.