Click here to Skip to main content
15,891,687 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Am not getting the graph its not visible the series values and everything i have entered correctly Help me pls
C#
try
{
    // chart1.Titles.Add("SERVICE AREA CALCULATION");
    da = new SqlDataAdapter("select * from timer ", cn.con);
    DataSet ds = new DataSet();
    ds.Clear();
    da.Fill(ds, "timer");
    DataView dv = new DataView(ds.Tables["timer"]);
    chart1.Series["Timer"].Points.DataBindXY(dv, "oldtime", dv, "numofvmused");
    chart1.Series["Fire Timer"].Points.DataBindXY(dv, "numofvmused", dv, "numofvmused");


}
catch (Exception error)
{
}


Thank You...
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900