Hi,
I seem to be a little lost with this, I have returned a collection of data from a data base and wish to manually bind this to the RADChart.
The data I collect binds okay to the chart but only shows 8 values when the collection returns 16, also the date does not show across the bottom.
The data row consists of 3 values and a date per row
i.e 20/07/2008, 354, 45, 32
I would like to have the data values show as line date and the coresponding date across the bottom of the chart. I have included my data collection and assignment code below.
Can you please advise..
Regards..
Peter
I seem to be a little lost with this, I have returned a collection of data from a data base and wish to manually bind this to the RADChart.
The data I collect binds okay to the chart but only shows 8 values when the collection returns 16, also the date does not show across the bottom.
The data row consists of 3 values and a date per row
i.e 20/07/2008, 354, 45, 32
I would like to have the data values show as line date and the coresponding date across the bottom of the chart. I have included my data collection and assignment code below.
DateTime eDate = DateTime.Today;
DateTime sDate = Convert.ToDateTime("01/" + eDate.AddMonths(-1).Month + "/" + eDate.AddMonths(-1).Year);
JobsOpenCollection JColl = new JobsOpenCollection();
JColl.Query.Select
(JColl.Query.CaOpen, JColl.Query.ChOpen, JColl.Query.TskOpen, JColl.Query.Date)
.Where(JColl.Query.Date.Between(sDate, eDate));
JColl.Query.Load();
JColl.Sort =
"Date";
rchWork.DataSource = JColl;
rchWork.DataBind();
Can you please advise..
Regards..
Peter