TheNovice

User Graph Interaction

Recommended Posts

Hi,

I was working with graphs and I came to know that when in runtime when hold ctrl key we can move graph and zoom in and out with mouse click.

Is there any way to restrict that and show graph as plain static image type.

 

Thanks.

Share this post


Link to post
Share on other sites

You can try adding:

yAxisFrozen = 0
xAxisFrozen = 0

to the OnPaint event for the graph.  They'll still be able to pan / zoom, but then it will instantly jump back to the programmed scaling.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now