在XML文件的chart的属性中添加unescapeLinks='0' 对xml数据进行编码: var dataXml = encodeURI(xmlData); mychart.setDataXml(dataXml);