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 - Horizontal Custom axis broken the correct zoom of Left Axis
Summary: Horizontal Custom axis broken the correct zoom of Left Axis
Status: CONFIRMED
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: Xamarin.Forms (show other bugs)
Version: unspecified
Hardware: PC Windows
: Normal major
Target Milestone: ---
Assignee: Steema Issue Manager
URL: http://www.teechart.net/support/viewt...
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-18 08:37 EDT by sandra pazos
Modified: 2017-05-19 10:21 EDT (History)
0 users

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.