Page 1 of 1

Custom graphcs

Posted: Tue Dec 02, 2003 9:16 am
by 9080041
: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

Posted: Tue Dec 02, 2003 10:36 am
by Pep
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