When we try to do zoom with the scrollpager activated, the square which appears when you do click to do zoom is not well posicionated.
By example
http://193.145.251.126/pnp/files/bpYFbf ... Scroll.zip
If you press button10 and then button1, and try to do zoom the squuare is not well positionated, but if the window is maximized it is well.
Thanks
Scrollpager and zoom
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Scrollpager and zoom
As a workaround to this, try:wakeup wrote:If you press button10 and then button1, and try to do zoom the squuare is not well positionated, but if the window is maximized it is well.
Code: Select all
private void Form1_Load(object sender, EventArgs e)
{
tChart1.Aspect.View3D = false;
tChart1.Axes.Bottom.Labels.DateTimeFormat = "dd/MM/yyyy HH:mm";
tChart1.Zoom.FullRepaint = true;
tChart1.Zoom.Pen.Color = Color.Red;
}
Best Regards,
Christopher Ireland / 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 |
Re: Scrollpager and zoom
Thanks it runs.
Another question... When I activate the scrollpager the zoom direction is changed from both to horizontal. Why this behaviour? If I set manually again to both it seems to run well also with scrollpager...
Thanks
Another question... When I activate the scrollpager the zoom direction is changed from both to horizontal. Why this behaviour? If I set manually again to both it seems to run well also with scrollpager...
Thanks
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Scrollpager and zoom
This behaviour is by design. The rationale behind this behaviour is that only the horizontal movements of the top chart are reflected in the bottom chart (the 'scrollpager' one). As you have discovered, this default behaviour can be overwritten.wakeup wrote:Another question... When I activate the scrollpager the zoom direction is changed from both to horizontal. Why this behaviour? If I set manually again to both it seems to run well also with scrollpager...
Best Regards,
Christopher Ireland / 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 |
Re: Scrollpager and zoom
Sometimes I see the efect of the screenshot, and I noticed it is due to FullRepaint. Can I avoid this effect dupplicating/triplicationg... the square when using zoom?Christopher wrote:As a workaround to this, try:wakeup wrote:If you press button10 and then button1, and try to do zoom the squuare is not well positionated, but if the window is maximized it is well.Code: Select all
private void Form1_Load(object sender, EventArgs e) { tChart1.Aspect.View3D = false; tChart1.Axes.Bottom.Labels.DateTimeFormat = "dd/MM/yyyy HH:mm"; tChart1.Zoom.FullRepaint = true; tChart1.Zoom.Pen.Color = Color.Red; }
Thanks
- Attachments
-
- fullrepaint.png (42.48 KiB) Viewed 13873 times
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Scrollpager and zoom
Hi wakeup,
Can you please attach a simple example project we can run "as-is" and let us know the exact steps we should follow to reproduce the problem here? The link in your first post is no longer valid.
Thanks in advance.
Can you please attach a simple example project we can run "as-is" and let us know the exact steps we should follow to reproduce the problem here? The link in your first post is no longer valid.
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 |
Re: Scrollpager and zoom
http://193.145.251.126/pnp/files/ZhRPwi ... chart3.zip
Press button1, and then move the mouse with left button clicked to set the zoom
Press button1, and then move the mouse with left button clicked to set the zoom
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Scrollpager and zoom
Hi wakeup,
This is a bug, I'm afraid. Please feel free to add it to bugzilla. Doing so you'll receive automatic notifications on any issue update.
Thanks in advance.
This is a bug, I'm afraid. Please feel free to add it to bugzilla. Doing so you'll receive automatic notifications on any issue update.
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 |