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,