Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Graph scrolling

2 views
Skip to first unread message

vishu s

unread,
Sep 9, 2008, 5:57:35 AM9/9/08
to
Hello,
I am writing graph application. I want to scroll the graph. If the
graph has a range from -10 to 10 in x-axis and -20 to 20 in y-axis,
then when zoomed ,it display only -3 to 3 .(numbers are just
example).
Scrolling means if the user clicks the left mouse button and move to
the right, then the graph should show values from -5 to 1 (just
example).
i am writing the graph on paintbox and the paintbox is mounted on a
panel.
I am not supposed to use built in components.
How to achieve this scroll function.
Thanks in advance.

With regards,

0 new messages