Page 1 of 1

Circular Gauge Hand Gradient Property Question

Posted: Tue Jan 22, 2008 8:22 pm
by 15047161
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

Posted: Wed Jan 23, 2008 11:58 am
by narcis
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.