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 1920 - Vertical custom axis broken the correct horizontal zoom
Summary: Vertical custom axis broken the correct horizontal zoom
Status: RESOLVED WORKSFORME
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: Android (show other bugs)
Version: TeeChart for .Net 4.1.2016.05125
Hardware: PC Windows
: --- critical
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-18 08:44 EDT by Arthur Gadis Alves
Modified: 2018-01-10 07:52 EST (History)
1 user (show)

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 Arthur Gadis Alves 2017-09-18 08:44:54 EDT
When vertical custom axis is added to a chart, the horizontal zoom is broken.

Here is my code

//Add the chart
tChart1 = new Steema.TeeChart.TChart(this);
tChart1.Aspect.View3D = false;

// zoom direction
tChart1.Zoom.Direction = Steema.TeeChart.ZoomDirections.Horizontal;

tChart1.Legend.Visible = false;
tChart1.Panel.Gradient.Visible = false;
tChart1.Walls.Back.Gradient.Visible = false;
tChart1.Walls.Back.Visible = false;
tChart1.Axes.Left.Grid.Visible = false;
tChart1.Axes.Bottom.Grid.Visible = false;
tChart1.Axes.Left.Automatic = false;
tChart1.Axes.Bottom.Automatic = false;
tChart1.Axes.Left.SetMinMax(MinValue, MaxValue);
tChart1.Axes.Bottom.SetMinMax(0, 20);

var fastLine1 = new Steema.TeeChart.Styles.FastLine(tChart1.Chart);
fastLine1.FillSampleValues(20);
fastLine1.DrawAllPoints = false;

var customAxis1 = new Steema.TeeChart.Axis();
fastLine1.CustomVertAxis = customAxis1;
tChart1.Axes.Custom.Add(customAxis1);

var fastLine2 = new Steema.TeeChart.Styles.FastLine(tChart1.Chart);
fastLine2.FillSampleValues(20);
fastLine2.DrawAllPoints = false;

var customAxis2 = new Steema.TeeChart.Axis();
fastLine2.CustomVertAxis = customAxis2;
tChart1.Axes.Custom.Add(customAxis2);

LinearLayout layout = FindViewById<LinearLayout>(Resource.Id.linearLayout1);
layout.AddView(tChart1, new ViewGroup.LayoutParams(ViewGroup.LayoutParams.FillParent, 400));
Comment 1 sandra pazos 2018-01-10 07:52:13 EST
Hello Arthur,

Sorry for the delay.

The problem you're experiencing doesn't occur for us, using latest 
Steema TeeChart for .NET 2017 4.1.2017.10190.


Thanks in advance