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 782

Summary: Left Axis Title is drawn out of the window when MaximumOffset is used
Product: Java TeeChart Reporter: yeray alonso <yeray>
Component: AxesAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: enhancement CC: wayneenterprise
Priority: ---    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
URL: http://www.teechart.net/support/viewtopic.php?f=10&t=14929
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description yeray alonso 2014-05-27 06:27:06 EDT
Reproduced with the following code, in TeeChart Swing.

        tChart1.getAspect().setView3D(false);
		
        Line line1 = new Line(tChart1.getChart());
        line1.fillSampleValues();

        tChart1.getAxes().getLeft().getTitle().setText( "Left Axis" );
        tChart1.getAxes().getLeft().setMinimumOffset(3);
        tChart1.getAxes().getLeft().setMaximumOffset(3);

Make the window smaller and smaller and you'll see how the left axis title is cut.
Comment 1 yeray alonso 2014-05-27 06:29:04 EDT
maxLabelsValueWidth() function wasn't rounding the string labels when calculating the string size, so it was taking labels with comma when shouldn't.
Comment 2 Bruce 2023-04-25 11:25:45 EDT
Still an actual bug in TeeChart VCL/FMX. How could I implement the same workaround as described in http://www.support.steema.com/viewtopic.php?p=66177&sid=22de2346b64e7b6a8bd50f5d402ea91e#p66177 without having source code?

I'm usingTeeChart Lite, the built-in version in Embarcadero RAD Studio.