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 2013

Summary: Regressions in automatic Bar size and positioning
Product: .NET TeeChart Reporter: christopher ireland <chris>
Component: SeriesAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: regression    
Priority: High    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
URL: http://www.teechart.net/support/viewtopic.php?f=4&t=16850
Chart Series: Bar Delphi / C++ Builder RAD IDE Version:

Description christopher ireland 2018-03-08 07:13:54 EST
Code to easily reproduce the core of these regressions:

		private void InitializeChart()
		{
			tChart1.Aspect.View3D = false;
			Bar bar1 = new Bar(tChart1.Chart);
			bar1.FillSampleValues();
		}

		private void button1_Click(object sender, EventArgs e)
		{
			tChart1.Axes.Bottom.SetMinMax(2, 3);
		}

Regressions were introduced in:
http://bugs.teechart.net/show_bug.cgi?id=1636
http://bugs.teechart.net/show_bug.cgi?id=1680
http://bugs.teechart.net/show_bug.cgi?id=1794
Comment 1 christopher ireland 2018-03-09 07:00:39 EST
This issue shows that that the code modified by id=1636 causes a number of unwanted secondary issues most especially when zooming on a small number of bars. I have therefore reverted the change, and have so left id=1636 as specifically requiring a CustomBarWidth to render correctly.