how to get the pattern type

TeeChart for ActiveX, COM and ASP
Post Reply
Aravind
Newbie
Newbie
Posts: 75
Joined: Fri Nov 15, 2002 12:00 am

how to get the pattern type

Post by Aravind » Tue Jul 18, 2006 2:55 pm

in bar chart ,

i want to know the value of pattern type i,e filling in side bar, first 3 values it is coming as 0,1, 2 then for other combinations such as diagonal... it shows as image .

how to set this images using code in vb

advise me


thanks
aravind

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

Post by Narcís » Tue Jul 18, 2006 3:10 pm

Hi Aravind,

In VB6 they are available as enums and the code autocompletion shows them, i.e.:

Code: Select all

Private Sub Form_Load()
    With TChart1.Series(0)
        .FillSampleValues 10
        .asBar.BarBrush.Style = bsBDiagonal
    End With
End Sub
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