I am refering to the official asp.net tutorial http://msdn.microsoft.com/en-us/library/dd456655.aspx . What i did is,,, in an fresh asp.net website, i added a chart control from the toolbox and dragged a table it to from my database. The problem starts now when i added a button and put the forecasting code in the button click event. The code is:
Chart1.DataManipulator.FinancialFormula (FinancialFormula.Forecasting, "2,40,true,true", "Series1:Y", "Series2:Y,Series3:Y,Series3:Y2");
The error message i got is
Forecasting Error – There are too few data points for this regression type. A minimum of 2 data points are required.
In the chart, i selected "date" as x-axis, and "some number" as Y-axis... And what is this minimum of 2 data points required... Can anyone help me out with this error.......