@Imports System.Data
@Code
Dim dataSet = new DataSet()
dataSet.ReadXmlSchema(Server.MapPath("data.xsd"))
dataSet.ReadXml(Server.MapPath("data.xml"))
Dim dataView = new DataView(dataSet.Tables(0))
Dim myChart = new Chart(600,400)
myChart.AddTitle("每位员工的销售额")
myChart.AddSeries("默认值","饼状图",,,,,dataView,"姓名",dataView,"销售额")
myChart.Write()
End Code