View a duplicated Y-axis
Posted: Fri Oct 06, 2017 11:33 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:
I would like to implement a second Y-axis on the right which is identical to the one on the left.
The following didn't work as expected.
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.Caption = "Volt [V]";
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;
The following didn't work as expected.
Code: Select all
C#
Steema.TeeChart.WPF.Axis rightAxis = MainChart.Axes.Right; //-> nicht angezeigt Steema Support
rightAxis.OtherSide = true;
Note: All the charting is made at runtime programmatically.
Thank you for any help on this.
Best, Jens