User (Legacy) Posted November 3, 2004 Report Share Posted November 3, 2004 Hi, I am using chartFX in for real time ploting. I am able to add new points in real time by the SetValueEx fuction but the XAxis labels remain same after adding new points. The ChartFX removes the older points but not the older XAxis labels. How i should move the XAxis labels in real time plotting. Quote Link to comment Share on other sites More sharing options...
Software FX Posted November 3, 2004 Report Share Posted November 3, 2004 You need to add the labels as well, the Real-Time sample provided with the product shows you how. Here is a snippet of this code (VB 6): nCOD = nCOD Or COD_SCROLLLEGEND If nOffset >= 20 Then ' Eliminate first (scroll) and add one at the end ChartFX2.Legend(0) = Chr$(1) ChartFX2.Legend(19) = Str(nOffset) Else ChartFX2.Legend(nOffset) = Str(nOffset) End If -- FP Software FX Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.