Zooming and scrolling

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Petr
Newbie
Newbie
Posts: 39
Joined: Wed Jul 24, 2013 12:00 am

Zooming and scrolling

Post by Petr » Thu Nov 07, 2013 5:08 pm

Hello,
When i'm using axis scroll with zoom direction property turned to horizontal, it zooms in and out( dependently on direction ) every time i'm trying to scroll axis.
At the same time, when zoom direction turned to both this zooming don't have place. What should i do to turn this zooming off?

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Zooming and scrolling

Post by Sandra » Fri Nov 08, 2013 3:42 pm

Hello Ptr,

I inform you if you want turn off the zoom, you only need set the zoom allow property to false as do in next line of code:

Code: Select all

tChart1.Zoom.Allow = false; 
On the other hand, I have made a simple code using Axis Scroll Tool and zooming direction to horizontal and your problem isn't produced by me:

Code: Select all

    public Form1()
    {
      InitializeComponent(); 
      InitializeChart();
    }
    private void InitializeChart()
    {
      tChart1.Aspect.View3D= false; 
      Steema.TeeChart.Styles.Line line1 = new Line(tChart1.Chart);
      line1.FillSampleValues();
      Steema.TeeChart.Tools.AxisScroll scroll = new AxisScroll(tChart1.Chart);
      scroll.Axis = tChart1.Axes.Bottom;
      tChart1.Zoom.Direction = ZoomDirections.Horizontal; 
     }
Could you tell us which version of TeeChartFor.Net are you using? My code works in your end? If your problem persist, please indicate exactly how can reproduce it here or arrange for us a simple project, where this problem appears.

I hope will helps.

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Petr
Newbie
Newbie
Posts: 39
Joined: Wed Jul 24, 2013 12:00 am

Re: Zooming and scrolling

Post by Petr » Thu Nov 14, 2013 2:28 pm

Hi sandra, thanks for reply, i'm using "Steema TeeChart for .NET 2012 4.1.2012.01310". Unfortuantely i don't want to turn zoom off at all. And I still have this problem. I found, that then zom direction is horizontal, when i'm scrolling axis(bottom) it hapens zoom event(which is overrided ), and then it turned to both - not. So the algorythm oz zooming is different, and i cant use Horizontal zooming as is. So, as i told before i use zooming in both direction, that is ok for me, because i use only Custom vertical axes(so i don't have vertical zooming basicaly) . But i would like to make a selection style, like it is made in case of horizontal zoom direction( Like a strip, with variable width). Are there any ways how can i do it?

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Zooming and scrolling

Post by Sandra » Thu Nov 14, 2013 5:30 pm

Hello Pert,

Thanks for your information, but we need know if the problem occurs in latest version, for this reason, I would be very grateful if you can download the latest TeeChartFor.Net evaluation version to check if your problem appears. After, doing test, could you please tell us if your problem persist because we can try to give you a good solution?

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Petr
Newbie
Newbie
Posts: 39
Joined: Wed Jul 24, 2013 12:00 am

Re: Zooming and scrolling

Post by Petr » Fri Nov 15, 2013 8:33 am

Hello.
Unfortunately, in lateset version my problem still occurs.

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Zooming and scrolling

Post by Sandra » Fri Nov 15, 2013 11:30 am

Hello Petr,

Thanks for your information. Finally I can reproduce your problem. I have added in bug list report with number [Id104]. We will try to fix it to upcoming versions of TeeChartFor.Net. You can check the status of the bug in next link.

On the other hand, I inform that steema is pleased to be able to offer a new bug tracking system using Bugzilla.The system, accessible at http://bugs.teechart.net, offers you the option to add new issues and monitor their status. We welcome your participation and hope that it will help make the Steema support task more transparent to all.

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Petr
Newbie
Newbie
Posts: 39
Joined: Wed Jul 24, 2013 12:00 am

Re: Zooming and scrolling

Post by Petr » Fri Nov 15, 2013 11:59 am

Thanks for information!

Post Reply