I recently downloaded the newest version of TeeChart for .NET. It appears that the behavior of axis titles has changed. The following line previously resulted in two lines being printed:
tChart1.Axes.Left.Title.Text = "Line 1\nLine 2";
Now it superimposes both lines on top of each other. Curiously, the new line character seems to be appended to the bottom rather than between the lines. If I put two new line characters between, both lines are still superimposed, but the label is moved to the left one more line. I've tried using "Environment.NewLine" instead, and some other changes, but the behavior remains the same.
Is this a bug? Is there a work around?
Change in axis labeling behavior
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Change in axis labeling behavior
It is regression, as it is functionality which worked in a previous version and which now no longer works. I've added this to our bug database as id=621.cbrandin wrote:Is this a bug? Is there a work around?
It seems that this functionality still works when:
Code: Select all
tChart1.Axes.Left.Title.Angle = 0;
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 |
Re: Change in axis labeling behavior
Thanks for the reply. I'll wait for the next release. For now, I'll figure out a way to live with one line.