How to: Gradient 3D Bar
Posted: Wed Nov 02, 2005 12:48 pm
Hi, I try an example for chart width gradient 3D bar, the code is:
Chart1.Series(0).asBar.BarStyle=bsRectangle
Chart1.Series(0).asBar.Gradient.Visible=true
Chart1.Series(0).asBar.Gradient.Direction=2
Chart1.Series(0).asBar.Gradient.StartColor=RGB(0,0,0)
Chart1.Series(0).asBar.Gradient.MidColor=RGB(128,128,128)
Chart1.Series(0).asBar.Gradient.EndColor=RGB(256,256,256)
Chart1.Width = 520
Chart1.Height = 200
Chart1.Series(0).FillSampleValues 4
Chart1.Series(0).asBar.Dark3D=True
The Gradient no work, why?
Best Regards
Chart1.Series(0).asBar.BarStyle=bsRectangle
Chart1.Series(0).asBar.Gradient.Visible=true
Chart1.Series(0).asBar.Gradient.Direction=2
Chart1.Series(0).asBar.Gradient.StartColor=RGB(0,0,0)
Chart1.Series(0).asBar.Gradient.MidColor=RGB(128,128,128)
Chart1.Series(0).asBar.Gradient.EndColor=RGB(256,256,256)
Chart1.Width = 520
Chart1.Height = 200
Chart1.Series(0).FillSampleValues 4
Chart1.Series(0).asBar.Dark3D=True
The Gradient no work, why?
Best Regards