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 2197

Summary: SubAxis title position
Product: .NET TeeChart Reporter: NIKOS NIKOS <nnikos123>
Component: AxesAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED NOTABUG    
Severity: major CC: chris
Priority: ---    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:
Attachments: subaxis title position

Description NIKOS NIKOS 2019-05-15 01:31:29 EDT
Created attachment 913 [details]
subaxis title position

SubAxis Title is not positioned correctrly. However, if you click on the various tabs of the subaxis property tabs at some point the title goes sudently on the correct position. This correction cannot be achived by code.

see attached pic

Thanks
Comment 1 christopher ireland 2019-06-18 03:45:21 EDT
You can work around this issue by setting the FixedLabelSize property to false, e.g.

        private void InitializeChart()
        {
            _tChart1.Series.Add(typeof(Line)).FillSampleValues();

            _tChart1.Axes.Left.Title.Text = "Axis Title";
            _tChart1.Axes.Left.FixedLabelSize = false;

            var newAxis = _tChart1.Axes.Left.SubAxes.Add();
            newAxis.FixedLabelSize = false;
            newAxis.Title.Angle = 90;
            newAxis.Title.Text = "SubAxis Title";

            _tChart1.Draw();
        }