Change in axis labeling behavior

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
cbrandin
Newbie
Newbie
Posts: 5
Joined: Wed Oct 30, 2013 12:00 am

Change in axis labeling behavior

Post by cbrandin » Wed Mar 05, 2014 8:44 pm

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?

Christopher
Guru
Posts: 1603
Joined: Fri Nov 15, 2002 12:00 am

Re: Change in axis labeling behavior

Post by Christopher » Thu Mar 06, 2014 11:30 am

cbrandin wrote:Is this a bug? Is there a work around?
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.

It seems that this functionality still works when:

Code: Select all

tChart1.Axes.Left.Title.Angle = 0;
Many apologies for the inconvenience caused.
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

cbrandin
Newbie
Newbie
Posts: 5
Joined: Wed Oct 30, 2013 12:00 am

Re: Change in axis labeling behavior

Post by cbrandin » Thu Mar 06, 2014 7:20 pm

Thanks for the reply. I'll wait for the next release. For now, I'll figure out a way to live with one line.

Post Reply