Page 1 of 1

gridband tool

Posted: Fri Sep 24, 2004 1:34 pm
by 8443014
hi

I cannot seem to make the gridband tool work (asp export to png with AXv7). The code I use is:

gridband=Chart.Tools.Add(tcGridBand)
With Chart.Tools.Items(gridband).asGridband
.Axis = Chart.Axis.Left
.Band1 = RGB(33,33,33)
.Band2 = RGB(233,233,233)
End With

The error I get is :
Object doesn't support this property or method: 'Band1'

Could you help?

Thanx
Alex

Posted: Mon Sep 27, 2004 9:09 am
by Pep
Hi,

I think you forgot the Color property :

Code: Select all

With Chart.Tools.Items(gridband).asGridBand
.Axis = Chart.Axis.Left
.Band1.Color = RGB(33, 33, 33)
.Band2.Color = RGB(233, 233, 233)
End With

Posted: Mon Sep 27, 2004 6:11 pm
by 8443014
Works great!

thanx :)

Alex

P.S. You really have to rewrite your documentation :wink: :wink: It will save you alot of posts in this forum :)

Posted: Tue Sep 28, 2004 6:47 am
by Pep
Hi Alex,
P.S. You really have to rewrite your documentation It will save you alot of posts in this forum
We're improving the Help files every releases, hope this helps to all the customers.