Page 1 of 1

Change in axis labeling behavior

Posted: Wed Mar 05, 2014 8:44 pm
by 17267655
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?

Re: Change in axis labeling behavior

Posted: Thu Mar 06, 2014 11:30 am
by Christopher
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.

Re: Change in axis labeling behavior

Posted: Thu Mar 06, 2014 7:20 pm
by 17267655
Thanks for the reply. I'll wait for the next release. For now, I'll figure out a way to live with one line.