Hi steema Support,
we have some issues related to Custom Axis of Tchart given as below,
Show multiple Left and Right axis on Tchart .
The code are using for Left Axis,
this.axis1 = new Steema.TeeChart.Axis(this.tChart1.Chart);
this.tChart1.Axes.Custom.Add(this.axis1);
this.axis1.AxisPen.Color = System.Drawing.Color.FromArgb(((System.Byte)(0)),((System.Byte)(192)),((System.Byte)(0)));
this.axis1.Labels.Font.Shadow.Visible = false;
this.axis1.Labels.Shadow.Visible = false;
this.axis1.OtherSide = false;
this.axis1.Title.Font.Shadow.Visible = false;
this.axis1.Title.Shadow.Visible = false;
this.axis1.Horizontal = false;
this.axis1.OtherSide = false;
tChart1.Axes.Custom[0].RelativePosition = -3;
tChart1.Axes.Left.RelativePosition = 2;
lineSeries1.VertAxis = Steema.TeeChart.Styles.VerticalAxis.Left;
lineSeries2.CustomVertAxis = axis1;
But how to know which value is to set in RelativePosition property and Panel margin dynamically if we are creating multiple custom axis.
Thanks in advance.
Show multiple Custom Left and Right axis on Tchart
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Show multiple Custom Left and Right axis on Tchart
Hello,
You should be able to use the technique specified in the similar question here:
http://www.teechart.net/support/viewtop ... 56&p=43274
You should be able to use the technique specified in the similar question here:
http://www.teechart.net/support/viewtop ... 56&p=43274
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 |
Re: Show multiple Custom Left and Right axis on Tchart
Thanks for reply,
But code in the link that u have provided is in VB.net language.
Please provide link in which code is written in C# language.
Thanks in advance.
But code in the link that u have provided is in VB.net language.
Please provide link in which code is written in C# language.
Thanks in advance.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Show multiple Custom Left and Right axis on Tchart
Hi amol,
You can try converting VB to C# using one of the on-line converters below.
http://www.carlosag.net/tools/codetranslator/
http://converter.telerik.com/
http://www.developerfusion.com/tools/co ... to-csharp/
http://codeconverter.sharpdevelop.net/S ... erter.aspx
You can try converting VB to C# using one of the on-line converters below.
http://www.carlosag.net/tools/codetranslator/
http://converter.telerik.com/
http://www.developerfusion.com/tools/co ... to-csharp/
http://codeconverter.sharpdevelop.net/S ... erter.aspx
Best Regards,
Narcís Calvet / 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 |