Jump to content
Software FX Community

Points Shifting on SetScrollView

User (Legacy)

Recommended Posts

I have a chart with 144 data points  (every 10 minutes).  I allow the user

to zoom in, at which point I want to show 3 hours. If i zoom in , and

scroll to the beginning of the day/chart, and modify values (say at 8:10 and

8:20), then, as soon as i scroll away (using setscrollview) the values get

shifted by 1 datapoint and become 8:20 and 8:30. Only if i scroll back to

the chart beginning (far left) does it correct itself.

I am using SetScrollView( pos, pos+18) to get to a particular dataset.

any ideas?



Link to comment
Share on other sites

Ok, as you probably  hoped... in creating a test case to send, i was able to

fix the problem.

I found that if you have AXIS_X.STEP > 1 (i have it at 6), and

SetScrollView(1,20), it shows points 0 thru point 19, but if I have STEP =

1, it shows points 1 through point 20. So, to fix it, I set STEP = 1 and

SetScrollView( 1,19 ).

thanx for your quick and willing support,


"SoftwareFX Support" <support@softwarefx.com> wrote in message


> We have been unable to reproduce this problem with the information you


> given us. Could you please send us a piece of code (sample) that


> it ?


> --

> FP

> Software FX, Inc.



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