Title of a Y-axis rotated by 90 degrees
Posted: Fri Oct 06, 2017 11:39 am
Hello Steema team,
I'm using Steema's TeeChart.WPF.
The chart I'm implementing contains three Series from TeeChart.WPF.Styles.Line and TeeChart.WPF.Styles.Points.
There is the Y-axis on the left, created with the following coded settings:
With using the leftAxis.Title.Angle = 90; I would like to visualize the title left-to-right instead of the default bottom-to-top read direction.
But it makes no difference whatever Title.Angle I have used.
Do you have any idea on this?
Note: All the charting is made at runtime programmatically.
Thank you for any help on this.
Best, Jens
I'm using Steema's TeeChart.WPF.
The chart I'm implementing contains three Series from TeeChart.WPF.Styles.Line and TeeChart.WPF.Styles.Points.
There is the Y-axis on the left, created with the following coded settings:
Code: Select all
C#
//Settings for Y-Axis
Steema.TeeChart.WPF.Axis leftAxis = MainChart.Axes.Left;
leftAxis.Visible = true;
leftAxis.Title.Visible = true;
leftAxis.Title.Font.Size = 10.0;
leftAxis.Title.Font.Name = "Segoe UI";
leftAxis.Title.Font.Color = Colors.Black;
leftAxis.Title.Caption = "Volt [V]";
leftAxis.Title.Angle = 90;
leftAxis.Grid.Visible = true;
leftAxis.Grid.Color = Colors.DarkGray;
leftAxis.Grid.DrawEvery = 1;
leftAxis.MinorGrid.Visible = false;
leftAxis.MinorTicks.Visible = false;
leftAxis.Ticks.Color = leftAxis.Grid.Color;
leftAxis.TickOnLabelsOnly = true;
leftAxis.Increment = 1.0;
leftAxis.AutomaticMaximum = false;
leftAxis.AutomaticMinimum = true;
But it makes no difference whatever Title.Angle I have used.
Do you have any idea on this?
Note: All the charting is made at runtime programmatically.
Thank you for any help on this.
Best, Jens