Circular Gauge Hand Gradient Property Question

TeeChart for ActiveX, COM and ASP
Post Reply
Chaos
Newbie
Newbie
Posts: 2
Joined: Tue Oct 30, 2007 12:00 am

Circular Gauge Hand Gradient Property Question

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
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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply