TIAN Posted October 24, 2007 Report Share Posted October 24, 2007 I use a controle Chart FX.Lite in my Visual Studio 2005 C# Form. My application works very well. But a few hours later, I get an error following: La r Link to comment Share on other sites More sharing options...
maximop Posted October 24, 2007 Report Share Posted October 24, 2007 The error is coming from ChartFX. It means that the component has not being initialized. When you re-opened the project, did you see the chart control on the form? Have you downloaded any ChartFX updates? I will try to remove the chart control and its references, and drop it again on the form; then, try recompiling the application. Link to comment Share on other sites More sharing options...
TIAN Posted October 24, 2007 Author Report Share Posted October 24, 2007 Thank you very much, I think you are right. I will change codes after adding the two lines and I will test. Because this code is in Thread, it's possible create this error by asynchronization. chartTV.ClearData(ClearDataFlag.Values); chartTV.ClearData( ClearDataFlag.PerPointAttributes);chartTV.OpenData(COD.Values, 1, 2); //assign immediately the values to avoid errors display by Form.NativeWindow chartTV.Value[0, 0] = 100; chartTV.Value[0, 1] = 0; .... chartTV.CloseData( COD.Values); Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.