USing V7

TeeChart for ActiveX, COM and ASP
Post Reply
BigMike
Newbie
Newbie
Posts: 13
Joined: Mon Oct 15, 2001 4:00 am
Location: Irvine CA
Contact:

USing V7

Post by BigMike » Mon Sep 27, 2004 6:57 pm

Any ideas on why the complier would say "Axis = Bottom" below is not defined, it works under V6. Where I'm using it was created using V7 so there should be no conversion, Right?

[With QuadrantChart.Tools
.Items(0).Active = True
With .Tools.Items(0).asColorband
.Axis = Bottom
.Brush.Style = bsSolid
.Transparency = 0
.StartValue = 12
.EndValue = 100
.DrawBehind = True
.Gradient.Direction = gdTopBottom
.Gradient.StartColor = RGB(255, 0, 0)
.Gradient.EndColor = RGB(251, 206, 51)
.Gradient.Visible = True
End With]

Any Ideas?[/code]

Christopher
Site Admin
Site Admin
Posts: 1349
Joined: Thu Jan 01, 1970 12:00 am
Location: Riudellots de la Selva, Catalonia
Contact:

Post by Christopher » Tue Sep 28, 2004 6:10 am

Hi Mike,
Any ideas on why the complier would say "Axis = Bottom" below is not defined, it works under V6. Where I'm using it was created using V7 so there should be no conversion, Right?
Maybe the dot '.' got lost in translation :) ... the code should read:

Code: Select all

.Axis = TChart1.Axis.Bottom
Thank you!

Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/

BigMike
Newbie
Newbie
Posts: 13
Joined: Mon Oct 15, 2001 4:00 am
Location: Irvine CA
Contact:

Thank You

Post by BigMike » Tue Sep 28, 2004 10:25 pm

Christopher, thank you worked fine!!

BigMike

Post Reply