point figure sample code with vb6

TeeChart for ActiveX, COM and ASP
Post Reply
15053038
Newbie
Newbie
Posts: 10
Joined: Mon Apr 27, 2009 12:00 am

point figure sample code with vb6

Post by 15053038 » Sat May 02, 2009 8:20 am

pls i search in the tutorials but i need criticatly the steps sample
after opening data base

to draw point o Or x
using vb6

some thing i'cant under stand lik
AddOHLC
GetInversionColumn

can u provide me sample code
thanks 4 ever and never

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

Post by Narcís » Mon May 04, 2009 7:19 am

Hello,

Yes, you can populate PointFigure series like this:

Code: Select all

Private Sub Form_Load()
    TChart1.AddSeries scPointFigure
    
    For i = 0 To 10
        TChart1.Series(0).asPointFigure.AddOHLC Now + i, 10, 40, 5, 25
    Next
End Sub
AddOHLC method uses a DateTime value for x values and then open, high, low and close values for the PointFigure series.

GetInversionColumn returns the column index where the index'th parameter point is located.

Point and Figure series draw columns where each step in the column corresponds to a point in the underlying datasource series.
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

Post Reply