Hello.
I'm using latest Steema.TeeChart.NET 4.2022.9.26 in a .NET 5 Windows Forms application on Windows 10 21H2.
Sometimes left axis title overlaps left axis labels:
How to separate left axis labels from left axis title to get rid of this overlapping? I didn't find any property for axis title position.
How to separate left axis labels from left axis title on .NET 5
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: How to separate left axis labels from left axis title on .NET 5
Hello,
What is most likely happening here is that a performance optimization to not recalculate label sizes is on—you can turn it off by setting FixedLabelSize to false, e.g.
The two CustomSize properties will change the size of the space either side of the Title, as you will be able to see.
What is most likely happening here is that a performance optimization to not recalculate label sizes is on—you can turn it off by setting FixedLabelSize to false, e.g.
Code: Select all
private void InitializeChart()
{
var bar = new Bar(tChart1.Chart);
bar.FillSampleValues();
tChart1.Axes.Left.Title.Text = "Left Title";
//tChart1.Axes.Left.Title.CustomSize = 80;
//tChart1.Axes.Left.Labels.CustomSize = 80;
tChart1.Axes.Left.FixedLabelSize = false;
}
Best Regards,
Christopher Ireland / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |