Page 1 of 1

Pointers for Arrow Series

Posted: Wed Oct 26, 2005 8:17 am
by 9088874
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

Posted: Wed Oct 26, 2005 10:26 am
by narcis
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

Arrow Pointers Thank you.

Posted: Thu Oct 27, 2005 6:48 am
by 9088874
It works. Thank you.