Jump to content
Software FX Community

Error in user Chart FX.Lite


TIAN

Recommended Posts

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

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...