Hi all
Is there a way to draw alternating color bands in the canvas, automatically? (without adding 10 or 15 or 20 band tools)
See the following for example:
http://www.omnifinance.gr/stock.asp?sym ... mode=chart
alternating color bands
Hi norad,
this can be done with the Grid Band tool, which is available in the TeeChart Pro AX v6.
this can be done with the Grid Band tool, which is available in the TeeChart Pro AX v6.
Pep Jorge
http://support.steema.com
http://support.steema.com
I have used the follwing code so as to have 2 different colors on my grid...
With Chart
.Tools.Add tcGridBand
With .Tools.Items(0).asGridBand
.Axis = Chart.Axis.Left
.Band1.Color = vbGreen
.Band2.Color = vbBlue
End With
End With
But it does not seem to work. Am i forgeting something?
The page in which the above is running produces the following error
Active Server Pages error 'ASP 0115'
Unexpected error
/charts/DAILY.asp
A trappable error (C0000005) occurred in an external object. The script cannot continue running.
Any help would be much appreciated
With Chart
.Tools.Add tcGridBand
With .Tools.Items(0).asGridBand
.Axis = Chart.Axis.Left
.Band1.Color = vbGreen
.Band2.Color = vbBlue
End With
End With
But it does not seem to work. Am i forgeting something?
The page in which the above is running produces the following error
Active Server Pages error 'ASP 0115'
Unexpected error
/charts/DAILY.asp
A trappable error (C0000005) occurred in an external object. The script cannot continue running.
Any help would be much appreciated
Hi norad,
yes, you're correct, I get the same results using it in one ASP page. It seems to be a bug. I've added it on our defect list and a fix for it will be considered to inclusion for the next maintenance release. I've not found any workaround, if I find it I'll let you know.
yes, you're correct, I get the same results using it in one ASP page. It seems to be a bug. I've added it on our defect list and a fix for it will be considered to inclusion for the next maintenance release. I've not found any workaround, if I find it I'll let you know.
Pep Jorge
http://support.steema.com
http://support.steema.com