Hi all,
I am having trouble removing the Frame from an annotation Rectangle.
Is there a way to achieve this?
Thanks
Annotation Problem
Hi,
you can do :
tChart1.Tools.Items(0).asAnnotation.Shape.Frame.Visible = False
you can do :
tChart1.Tools.Items(0).asAnnotation.Shape.Frame.Visible = False
Pep Jorge
http://support.steema.com
http://support.steema.com
I have tried to use the above code but i get an error on the asp page.
The following is the code i have used
With Chart
.Tools.Add tcAnnotate
.Tools.Items(2).Active = True
With .Tools.Items(2).asAnnotation
.Position = ppRightTop
.Shape.Gradient.Visible = false
.Shape.ShapeStyle = fosRectangle
.Shape.Font.Name = "Verdana"
.Shape.Font.Color = RGB(170,170,204)
.Text = "TEST"
.Shape.Shadow.Color = vbwhite
.Shape.Frame.Visible = False
End With
End With
and the error i get:
Microsoft VBScript runtime error '800a01b6'
Object doesn't support this property or method: 'Shape.Frame'
Am i doing something wrong here?
Please help
The following is the code i have used
With Chart
.Tools.Add tcAnnotate
.Tools.Items(2).Active = True
With .Tools.Items(2).asAnnotation
.Position = ppRightTop
.Shape.Gradient.Visible = false
.Shape.ShapeStyle = fosRectangle
.Shape.Font.Name = "Verdana"
.Shape.Font.Color = RGB(170,170,204)
.Text = "TEST"
.Shape.Shadow.Color = vbwhite
.Shape.Frame.Visible = False
End With
End With
and the error i get:
Microsoft VBScript runtime error '800a01b6'
Object doesn't support this property or method: 'Shape.Frame'
Am i doing something wrong here?
Please help
Hi norad,
>Object doesn't support this property or method: 'Shape.Frame'
Yes, you're correct, it's a bug. I've added it on our defect list and a fix for it will be considered to inclusion for the next maintenance releases.
>Object doesn't support this property or method: 'Shape.Frame'
Yes, you're correct, it's a bug. I've added it on our defect list and a fix for it will be considered to inclusion for the next maintenance releases.
Pep Jorge
http://support.steema.com
http://support.steema.com