User (Legacy) Posted January 25, 2002 Report Share Posted January 25, 2002 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? thanx, dev Link to comment Share on other sites More sharing options...
Software FX Posted January 28, 2002 Report Share Posted January 28, 2002 We have been unable to reproduce this problem with the information you have given us. Could you please send us a piece of code (sample) that reproduces it ? -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
User (Legacy) Posted January 29, 2002 Author Report Share Posted January 29, 2002 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, dev "SoftwareFX Support" <support@softwarefx.com> wrote in message news:rs9A9BBqBHA.1412@webserver1.softwarefx.com... > We have been unable to reproduce this problem with the information you have > given us. Could you please send us a piece of code (sample) that reproduces > it ? > > -- > FP > Software FX, Inc. > > Link to comment Share on other sites More sharing options...
Software FX Posted January 30, 2002 Report Share Posted January 30, 2002 Yes the scroll is rounded to the step, actually it is rounded to the MinorStep (this is the scroll increment) so if you want to set the step to something else, set the MinorStep to one so that you can scroll one-by-one. -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.