Hi,
I have a chart displaying numeric values on the y-axis and datetime values on the x-axis. The chart also has a cursor with the FollowMouse property set to true.
After scrolling, when I try to return to the original position by holding down the left mouse button and moving up and laterally as works in the examples, nothing happens and the chart position stays where I had scrolled to.
Am I missing something or do you have to write some code to perform this behaviour?
Thanks.
Returning to original position after scrolling not working
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Agrilink,
Please notice that the default button for scrolling is the right mouse button. However, to return to the original chart position you can also perform the unzooming procedure (press the left mouse button and while you keep it pressed move the mouse towards the left top of the chart, when you release the button the chart will be "unzoomed").
There's nothing special that needs to be done to achieve that. You can check your chart zoom and scroll settings. Using the chart editor, yocan find zoom and scroll settings at the General tab.
If the problem persists please send us an example we can run "as-is" to reproduce the problem here.
Thanks in advance.
Please notice that the default button for scrolling is the right mouse button. However, to return to the original chart position you can also perform the unzooming procedure (press the left mouse button and while you keep it pressed move the mouse towards the left top of the chart, when you release the button the chart will be "unzoomed").
There's nothing special that needs to be done to achieve that. You can check your chart zoom and scroll settings. Using the chart editor, yocan find zoom and scroll settings at the General tab.
If the problem persists please send us an example we can run "as-is" to reproduce the problem here.
Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Hi Narcis,
I had the Zoom property set to false by intention. I only wanted the user to scroll.
When Zoom is set to true, it works as expected.
In your reply you state,
"(press the left mouse button and while you keep it pressed move the mouse towards the left top of the chart, when you release the button the chart will be "unzoomed")", which you say is the "unzooming procedure".
Is there a way to return to the original chart position after scrolling with the Zoom property set to false?
If not I'll have to allow the user to zoom.
Thanks for your help.
I had the Zoom property set to false by intention. I only wanted the user to scroll.
When Zoom is set to true, it works as expected.
In your reply you state,
"(press the left mouse button and while you keep it pressed move the mouse towards the left top of the chart, when you release the button the chart will be "unzoomed")", which you say is the "unzooming procedure".
Is there a way to return to the original chart position after scrolling with the Zoom property set to false?
If not I'll have to allow the user to zoom.
Thanks for your help.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Agrilink,
Yes, too unzoom your chart you can use:
Yes, too unzoom your chart you can use:
Code: Select all
private void button1_Click(object sender, System.EventArgs e)
{
tChart1.Axes.Left.Automatic=true;
tChart1.Axes.Bottom.Automatic=true;
}
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |