User (Legacy) Posted July 27, 2004 Report Share Posted July 27, 2004 the help file has the following code example in it for an unknown number of datapoints Chart1.OpenData(COD.Values, 1, COD.Unknown) j = 0 While Fetching Records Chart1.Value(0, J) = Field1 J = J + 1 Next Chart1.CloseData(COD.Values) but when i try this i get the error Argument '3': cannot convert from 'SoftwareFX.ChartFX.COD' to 'int' The best overloaded method match for 'SoftwareFX.ChartFX.Chart.OpenData(SoftwareFX.ChartFX.COD, int, int)' has some invalid arguments is the help file wrong? kevin Link to comment Share on other sites More sharing options...
Software FX Posted July 27, 2004 Report Share Posted July 27, 2004 You need to make a cast: Chart1.OpenData(COD.Values, 1, CInt(COD.Unknown)) -- FP Software FX Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.