Hi Everybody!
I'm going to explain about how to built-in charting control with datetime scale.
So, there is a chart control that you can use in the windows forms and asp.net project. Before using, you can download this control in this web site for the version .NET 3.5 and it is free! 
After installed, you create a windows form project in visual studio. Then, you can see in the toolbox within the "DATA" tab the chart control where we can see the picture below.

Put this control on your form, you will see the control with the chart.
For this sample, let's go to see some properties, classes and methods you can use on your chart.
Title: Title of chart. you can define more than one title. See the code below:
chartControl.Titles.Add("Sells per month");
Series: You can define many series you want in your chart. One is chart where it can be having type of "Line, Point, Pie" and others. See the code to create two series below:
chartControl.Series.Add(new Series("Sales projection"));
chartControl.Series.Add(new Series("Sales consolidated"));
ChartType: this property you define the chart type: Line, Point, Pie, Funnel... This property is related with your serie. See the code:
chartControl.Series[0].ChartType = SeriesChartType.Line;
chartControl.Series[1].ChartType = SeriesChartType.Line;
Serie's Color: For each serie you can configure a color. See the code:
chartControl.Series[0].Color = System.Drawing.Color.Blue;
chartControl.Series[1].Color = System.Drawing.Color.Red;
Serie's Border Width: You can set a serie's border width case you think necessary to show better. Look at the code:
chartControl.Series[0].BorderWidth = 3;
chartControl.Series[1].BorderWidth = 3;
ChartAreas: You can instance the chartArea object that you can configure many properties the chart: BackColor, BorderColor, CursorX, CursorY, AxisX, AxisY and much more things.
Let's set some properties that ChartArea class:
AxisX.Title:
var chartArea = new ChartArea();
chartArea.AxisX.Title = "Days";
AxisY.Title:
chartArea.AxisY.Title = "Sells";
Adding the chartArea object in chartArea:
crtSells.ChartAreas.Add(chartArea);
Binding: the Serie's binding received a collection where sets the point (coordinate). For this, you define the DataBind and after setting the valueType (X or Y axis). See the sample below:
chartControl.Series[0].Points.DataBind(GetSerieProjectionData().DefaultView, "xValuesDate", "yValues", null);
charControl.Series[0].XValueType = ChartValueType.DateTime;
chartControl.Series[1].Points.DataBind(GetSerieConsolidatedData().DefaultView, "xValuesDate", "yValues", null);
chartControl.Series[1].XValueType = ChartValueType.DateTime;
The DataBind parameters are:
- GetSerieProjectionData().DefaultView: collection with data;
- xValuesData: a string type having the name of the collection's X-axis;
- yValues: a string type being the name of the collection's Y-axis;
- null: a string value for others fields.
In XValueType, you can set the value type in the X-axis or you can set the value type also in the Y-axis
(YValueType).
If you have interest in learning more, you can download the simple sample () about this post, further, I recommend that you download the windows forms and asp.net samples which provide more than 200 samples. Also, there is a documentation the chart control, see here now.
Graph.rar (56.54 kb)