Axis And CursorTool And Label

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Mr.Hu_NotProSupport
Newbie
Newbie
Posts: 9
Joined: Fri Jan 29, 2010 12:00 am

Axis And CursorTool And Label

Post by Mr.Hu_NotProSupport » Tue Oct 04, 2016 12:01 pm

As shown in the figure
Dim tChart As New Steema.TeeChart.TChart
Dim Axis1 As New Steema.TeeChart.Axis(tChart1.Chart)
Dim Axis2 As New Steema.TeeChart.Axis(tChart1.Chart)
Dim Axis3 As New Steema.TeeChart.Axis(tChart1.Chart)
Dim CursorTool1 As New Steema.TeeChart.Tools.CursorTool(tChart.Chart)
CursorTool1.FollowMouse = True
Dim MyLine(0 to 20) As New Steema.TeeChart.Styles.Line()
tChart.Axes.Custom.Add(Axis1)
tChart.Axes.Custom.Add(Axis2)
tChart.Axes.Custom.Add(Axis3)
Axis1.Horizontal = False
Axis2.Horizontal = False
Axis3.Horizontal = False
tChart.Series(0 to 10).CustomVertAxis = Axis1
tChart.Series(11 to 14).CustomVertAxis = Axis2
tChart.Series(15 to 20).CustomVertAxis = Axis3

problem One: in the help file, only add a Series example, did not add multiple Series multiple Axis example, if you specify CursorTool1.Series = tChart.Series (0), then only in the Axis1 region of CursorTool1, while the area I want is the tChart; if the specified CursorTool1.Series =Nothing, when the mouse moves the only vertical line with the mouse and the horizontal line is always in the middle position of the level of tChart, in this tChart, how to add a full screen mobile CursorTool1
Problem two :1、2、 3 in the figure, the display is TChart1.Series (0 to 20).YScreenToValue (e.Y), I do not understand the three:
A、 what is this tool, how to use the code to add, and specify its location in Axis1, Axis2,.StartPosition Axis3 on the right.
B、 in 1 of the body that similar to the Label tool is what, his font, color, content, location and how to set.
C、it is how to do the font color is not the same, can automatically shrink.
Attachments
tHelp.png
figure
tHelp.png (123.45 KiB) Viewed 7725 times

Christopher
Guru
Posts: 1603
Joined: Fri Nov 15, 2002 12:00 am

Re: Axis And CursorTool And Label

Post by Christopher » Tue Oct 04, 2016 2:35 pm

Hello,

It looks as though things are a little complicated now :)

Would you please be so kind as to create Minimal, Complete, and Verifiable examples (as specified here) for each of your issues to enable us to quickly identify and solve them?
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

Post Reply