I am using the DataManipulator.InsertEmptyPoints as shown in the following code. Why is there a break between 9/21 11PM and 9/22 7AM? My interval is days and set to 1? I was under the impression that missing points (a break) would only display if more than 24 hours went passed without a value? I guess I just don't understand the DataManipulator. Any help would be appreciated.
You can re-create the problem by dragging a chart on to your page and using the following for the page_load event:
protected void Page_Load(object sender, EventArgs e)
{
Chart1.Series[0].XValueType = ChartValueType.DateTime;
Chart1.Series[0].ChartType = SeriesChartType.Line;
Chart1.Series[0].Points.AddXY(DateTime.Parse("9/21/2009 3:00:00 PM"), 2.3);
Chart1.Series[0].Points.AddXY(DateTime.Parse("9/21/2009 11:00:00 PM"), 2.4);
Chart1.Series[0].Points.AddXY(DateTime.Parse("9/22/2009 7:00:00 AM"), 2.5);
Chart1.Series[0].Points.AddXY(DateTime.Parse("9/22/2009 3:00:00 PM"), 2.6);
Chart1.DataManipulator.InsertEmptyPoints(1, IntervalType.Days, Chart1.Series[0].Name);
Chart1.DataBind();
}