Page 1 of 1

Zooming and scrolling

Posted: Thu Nov 07, 2013 5:08 pm
by 15666633
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?

Re: Zooming and scrolling

Posted: Fri Nov 08, 2013 3:42 pm
by 10050769
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,

Re: Zooming and scrolling

Posted: Thu Nov 14, 2013 2:28 pm
by 15666633
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?

Re: Zooming and scrolling

Posted: Thu Nov 14, 2013 5:30 pm
by 10050769
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,

Re: Zooming and scrolling

Posted: Fri Nov 15, 2013 8:33 am
by 15666633
Hello.
Unfortunately, in lateset version my problem still occurs.

Re: Zooming and scrolling

Posted: Fri Nov 15, 2013 11:30 am
by 10050769
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,

Re: Zooming and scrolling

Posted: Fri Nov 15, 2013 11:59 am
by 15666633
Thanks for information!