Change in axis labeling behavior
Posted: 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?
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?