It seems you typed chart_SalesByYear.setDataXML("xrDat.xml"); while using data url method. For data url method, you have to write  
  
chart_SalesByYear.setDataURL("xrDat.xml"); 
  
  
  
Also, make sure, the name of your XML file is similar to what you are using in the code (xrDat.xml)