Custom graphcs

TeeChart for ActiveX, COM and ASP
Post Reply
Newbie
Newbie
Posts: 3
Joined: Mon Dec 01, 2003 5:00 am

Custom graphcs

Post by » Tue Dec 02, 2003 9:16 am

:oops:
hi

could you please give example code in vb on how to add a custom image,bitmap,etc to each data series point in teechart v6

thanx

Pep
Site Admin
Site Admin
Posts: 3273
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Tue Dec 02, 2003 10:36 am

One example could be :

Code: Select all

Private Sub Form_Load()
With TChart1
    .Aspect.View3D = False
    .AddSeries scPoint
    .Series(0).FillSampleValues 10
    ImageList1.ListImages.Add , , LoadPicture("C:\Documents and
Settings\Administrator\My Documents\My Pictures\sample.jpg")
    .Series(0).asPoint.Pointer.Brush.AssignImage
ImageList1.ListImages.Item(1).Picture
End With
End Sub
Josep Lluis Jorge
http://support.steema.com

Post Reply