Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 1865

Summary: Horizontal Custom axis broken the correct zoom of Left Axis
Product: .NET TeeChart Reporter: sandra pazos <sandra>
Component: Xamarin.FormsAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: major    
Priority: Normal    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
URL: http://www.teechart.net/support/viewtopic.php?f=4&t=16584&sid=3417e66013cc7991329dcee42585b7bf
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description sandra pazos 2017-05-18 08:37:36 EDT
Horizontal Custom axis broken the correct zoom of Left Axis.
The code below shows the problem: 
            var tChart1 = new Steema.TeeChart.Chart();

            tChart1.Series.Add(new Steema.TeeChart.Styles.HorizLine());
            tChart1.Series.Add(new Steema.TeeChart.Styles.HorizLine());
            tChart1.Series[0].FillSampleValues(10);
            tChart1.Series[1].FillSampleValues(10);
            tChart1.Aspect.View3D = false;

            //Additional Custom Axis
            //Horizontal 
            var customAxis = new Steema.TeeChart.Axis(true, false, tChart1);
            tChart1.Axes.Custom.Add(customAxis);
            tChart1[0].HorizAxis = Steema.TeeChart.Styles.HorizontalAxis.Bottom;
            tChart1[1].CustomHorizAxis = customAxis;

            customAxis.AxisPen.Color = Color.Red;

            tChart1.Axes.Bottom.StartPosition = 0;
            tChart1.Axes.Bottom.EndPosition = 50;
            customAxis.StartPosition = 51;
            customAxis.EndPosition = 100;


The problem seems doesn't appear using a horizontal axis.