TeeChart for ActiveX, COM and ASP
-
Chaos
- Newbie
- Posts: 2
- Joined: Tue Oct 30, 2007 12:00 am
Post
by Chaos » Tue Jan 22, 2008 8:22 pm
I am trying to turn off the hand gradient and set the color solid using code. Seems like there are several properties I cannot get to work.
Code: Select all
Private Sub Form_Load()
With TChart.Series(0).asCircularGauge
.RotateLabels = False
.Center.HorizontalSize = 10
.Center.VerticalSize = 10
.EndPoint.Visible = False
'these are not working
.Hand.Gradient.Visible = False
.Hand.Brush.Color = vbGreen
.Hand.Brush.BackColor = vbGreen
End With
End Sub
Is there something I am missing?
Thanks
-
Narcís
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
-
Contact:
Post
by Narcís » Wed Jan 23, 2008 11:58 am
Hi Chaos,
I'm afraid this is a bug (TA05012762) which I've added to our defect list to be fixed for next maintenance releases. In the meantime, the only solution i setting those properties at design-time using the chart editor.