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 - Left Axis Title is drawn out of the window when MaximumOffset is used
Summary: Left Axis Title is drawn out of the window when MaximumOffset is used
Status: RESOLVED FIXED
Alias: None
Product: Java TeeChart
Classification: Unclassified
Component: Axes (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL: http://www.teechart.net/support/viewt...
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-27 06:27 EDT by yeray alonso
Modified: 2023-04-25 11:25 EDT (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 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.