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 - SubAxis title position
Summary: SubAxis title position
Status: RESOLVED NOTABUG
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: Axes (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- major
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-15 01:31 EDT by NIKOS NIKOS
Modified: 2019-06-18 03:45 EDT (History)
1 user (show)

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments
subaxis title position (92.22 KB, image/png)
2019-05-15 01:31 EDT, NIKOS NIKOS
Details

Note You need to log in before you can comment on or make changes to this bug.
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();
        }