Arys Posted September 1, 2008 Report Share Posted September 1, 2008 Hello all, this is a very newbie question but with the help document i cannot bind a datatable to the chart. Basicallyi am not getting the datatable from a database, im creating a datablewith dynamic data that the user types in the application. The thing is when i bind the datable to the chart, doesnt display the value. DataTable t = new DataTable();t.Columns.Add("Name");t.Columns.Add("Age");DataRow dr = t.NewRow();dr = "Duncan";dr = 25;t.Rows.Add(dr);mFarmLoadChart.DataSource = t; Doi need to set some basic stuff to the chart like series and such? Sorryto bother you with such a trivial thing but reading the documentation icouldnt find out what are the most basic settings i must set for thechart to load a datatable. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.