![]() | Steema Issues DatabaseNote: 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. |
| Summary: | [TF02016328] Bar series overlap when the bottom axis minimum and maximum aren't automatic. | ||
|---|---|---|---|
| Product: | .NET TeeChart | Reporter: | christopher ireland <chris> |
| Component: | Series | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | ||
| Priority: | --- | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| URL: | http://www.teechart.net/support/viewtopic.php?f=4&p=72251#p72251 | ||
| Chart Series: | Bar | Delphi / C++ Builder RAD IDE Version: | |
Bar series overlap when the bottom axis minimum and maximum aren't automatic. If you add a Bar Series with a determinate range of values, disable the automatic Minimum and Maximum of bottom axis; assign other range, more big. The Bars overlap. Would be interesting Bar Series is recalculating the BarWidthPercent automatically, and adapting it to the range of bottom axis when it isn't automatic to get good results. See next code to reproduce the problem: private void InitializeChart() { tChart1.Aspect.View3D = false; tChart1.Axes.Bottom.Automatic = false; tChart1.Axes.Bottom.Minimum = 0; tChart1.Axes.Bottom.Maximum = 10; Steema.TeeChart.Styles.Bar bar = new Steema.TeeChart.Styles.Bar(tChart1.Chart); bar.Add(1, 1000); bar.Add(2, 1200); bar.Add(3, 900); bar.Add(4, 800); } A workaround to solve this problem is changing manually the BarWidthPercent.