Page 1 of 1

how to get the pattern type

Posted: Tue Jul 18, 2006 2:55 pm
by 6925851
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

Posted: Tue Jul 18, 2006 3:10 pm
by narcis
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