Page 1 of 1

How can have zoom with DPot Jr.

Posted: Wed Sep 23, 2009 5:21 am
by parthiiban
Can any one tell me how to use zoom or scroll option with DPlot Jr. I am new to this. my requirement is if i ve data from 1200 hrs to 1500 hrs data, i want to put in view 1200 to 1300 hrs in x-axis initialy and the user can view other data by scrolling it.

Posted: Wed Sep 23, 2009 12:29 pm
by DPlotAdmin
You can scroll using the arrow keys but
1) Only *after* zooming in.
2) There's no way to set the zoom window programmatically.

There's no good reason for the first limitation that I can think of, though, and I think this must have been done only because I was being a bit lazy. I've changed this at my end such that the arrow keys work whether the user has zoomed in or not. Will be in the next release.

I'm not sure whether you were asking a question about setting extents or not: if so then take a look at the ManualScale command.

Posted: Wed Sep 23, 2009 11:25 pm
by parthiiban
Please regret to ask this, for previous requirement if i show view of 12 to 13 hrs and using right arrow key can i see rest of data. and i can able to see 12 to 15 hrs data in a view also.

Posted: Thu Sep 24, 2009 8:11 am
by DPlotAdmin
if i show view of 12 to 13 hrs and using right arrow key can i see rest of data.
In the next release, yes. The only way to do this right now is to manually zoom in to those extents, then use the arrow keys.
and i can able to see 12 to 15 hrs data in a view also.
On the same plot at the same time? No.