Pointers for Arrow Series

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
I-Maps
Newbie
Newbie
Posts: 15
Joined: Fri Oct 21, 2005 4:00 am
Location: South Africa

Pointers for Arrow Series

Post by I-Maps » Wed Oct 26, 2005 8:17 am

Hi

I'm using TeeChart.NET v2 with Visual Basic.NET.

I have an "Arrows" series.

I want to put a marker (such as a small dot, sphere, etc.) at the beginning of the arrow (to mark the exact spot of (X,Y)).

I can do this using the editor (by going to "Marks", then "Arrow" then selection "Pointer" and setting it to be visible, setting the style to something like "sphere", and setting the width and height.

I want to do the same thing in code.

I have declared a series of "style" arrow as in:

Code: Select all

Dim mySeries As New Steema.TeeChart.Styles.Arrow
I successfully add points and set some properties in code.

However I cannot find the properties to set. I expected that I could go:

Code: Select all

mySeries.Marks.Arrows.Pointer.Style = ....Sphere.
However Marks does not have an Arrows property!

Please help.

Regards
Reg Bust

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed Oct 26, 2005 10:26 am

Hi Reg Bust,

Yes, this can be done:

Code: Select all

        With Arrow1
            .FillSampleValues()
            .Marks.Visible = True
            .Marks.Callout.Visible = True
            .Marks.Callout.Style = Steema.TeeChart.Styles.PointerStyles.Sphere
            .Marks.Callout.HorizSize = 5
            .Marks.Callout.VertSize = 15
        End With
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

I-Maps
Newbie
Newbie
Posts: 15
Joined: Fri Oct 21, 2005 4:00 am
Location: South Africa

Arrow Pointers Thank you.

Post by I-Maps » Thu Oct 27, 2005 6:48 am

It works. Thank you.

Post Reply