DateTime X Values in C# Problem
Posted: Thu Mar 29, 2007 8:38 am
Hi,
Started working with TeeChart yesterday, the ActiveX version, in C# .NET
I want to do the following: add a DateTime value as X value and double as Y value, but i get the following errors
Please help
Thanks
Started working with TeeChart yesterday, the ActiveX version, in C# .NET
I want to do the following: add a DateTime value as X value and double as Y value, but i get the following errors
Please help
Thanks
Errors:dt[j] = DateTime.ParseExact(reader[1].ToString(), "yyyy/MM/dd HH:mm:ss", provider);
axTChart1.Series(i).XValues.DateTime = true; axTChart1.Series(i).AddXY(dt[j],double.Parse(reader[2].ToString()), "", 1);
The best overloaded method match for 'TeeChart.ISeries.AddXY(double, double, string, uint)' has some invalid arguments
Argument '1': cannot convert from 'System.DateTime' to 'double'