Jump to content
Software FX Community

Having problems "resetting" real time chart data >>>

User (Legacy)

Recommended Posts

Hello again, 

Using VB 6.0 with ChartFx Build

I have a real time chart which needs to be reset once

the user saves the chart's data to a file. I'm using the

following call:

frmMain.livePlot.ClearData CD_VALUES

to clear out the data so I can start with a fresh plot.

After I do this, I get "Invalid property Array Index"

or "Method ValueEx of chart livePlot failed" run

time errors when I subsequently try to add real time data

using OpenDataEx with the COD_ADDPOINTS flag

(which works correctly the first time the chart is run).

Is there a step I'm missing between the ClearData

call and the call to OpenDataEx? I've tried setting

the MaxValues property but this doesn't seem

to help.




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.

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...