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 417 - [TJ71016731] The bottom axis labels sometimes overlap: Line series = new Line(tCh...
Summary: [TJ71016731] The bottom axis labels sometimes overlap: Line series = new Line...
Status: RESOLVED FIXED
Alias: None
Product: Java TeeChart
Classification: Unclassified
Component: Axes (show other bugs)
Version: unspecified
Hardware: All All
: Normal major
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-02 13:52 EDT by yeray alonso
Modified: 2013-11-27 16:37 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 yeray alonso 2013-11-20 12:15:11 EST
The bottom axis labels sometimes overlap:
Line series = new Line(tChart1.getChart());
series.fillSampleValues(100);
//tChart1.getAxes().getBottom().setMinMax(2, 5);             //overlaps
//tChart1.getAxes().getBottom().setMinMax(2.01, 5.01);  //no overlap
//tChart1.getAxes().getBottom().setMinMax(0, 10);           //no overlap
Tested in SWT and Swing
http://www.teechart.net/support/viewtopic.php?f=10&t=14380&p=63279#p63279 [created:2013-10-02T12:52:58.000+01:00 reported by:yeray@steema.com reported in version:3.2012.0808 (TeeChart Java)]
Comment 1 marc meumann 2013-11-27 16:37:46 EST
old calculation was based on 1st and last labels. If format of those was short (perhaps rounded) compared to intermediate labels (that perhaps have decimal places) then overlap occurred.