I would like to create a dynamic strip chart using RadChart.
Chart type is Line
The x-axis should be a time axis showing the time of the last update
After filling the x-axis I would like to drop the oldest point and add a new point to the end of the chart
This sample code adds the new item to the chart but how would I add x-axis (time) labels for each new item?
    
Thanks
Marc
                                Chart type is Line
The x-axis should be a time axis showing the time of the last update
After filling the x-axis I would like to drop the oldest point and add a new point to the end of the chart
This sample code adds the new item to the chart but how would I add x-axis (time) labels for each new item?
| if (Session["rtvals"] == null) | 
| Session["rtvals"] = DateTime.Now.Second; | 
| else | 
| Session["rtvals"] = Session["rtvals"] + "," + DateTime.Now.Second; | 
| String[] vals = Session["rtvals"].ToString().Split(','); | 
| for (int i = 0; i < vals.Length; i++) | 
| { | 
| Chart5.Series[0].AddItem(Convert.ToDouble(vals[i])); | 
| } | 
Thanks
Marc