hello Member 11305067352,
below is ur code in c# language,i think this will help your problem.
protected void Button1_Click(object sender, System.EventArgs e)
{
DataSet ds = new DataSet();
ds.ReadXml("YourXMLDocPath in .xml format");
YourChart.DataSource = ds;
YourChart.Series("Series1").XValueMember = ds.Tables(0).Columns(1).ColumnName.ToString();
YourChart.Series("Series1").YValueMembers = ds.Tables(0).Columns(2).ColumnName.ToString();
YourChart.Series.Add("Series2");
YourChart.Series("Series2").XValueMember = ds.Tables(0).Columns(1).ColumnName.ToString();
YourChart.Series("Series2").YValueMembers = ds.Tables(0).Columns(3).ColumnName.ToString();
YourChart.Series(0).Color = Drawing.Color.Red;
YourChart.Series(1).Color = Drawing.Color.Blue;
YourChart.ChartAreas("ChartArea1").AxisX.Interval = 1;
YourChart.DataBind();
}
Aditya Prakash
jr. Software Engineer
Seed Management Services Pvt ltd.