ComponentOne RadialGauge for ASP.NET Web Forms
C1RadialGauge Concepts / C1RadialGauge StartAngle and SweepAngle
In This Topic
    C1RadialGauge StartAngle and SweepAngle
    In This Topic

    Once the range has been defined, you need to specify the angles that match the C1Gauge.Min and C1Gauge.Max values. The C1RadialGauge.StartAngle defines the position of the pointer when the C1Gauge.Value property is set to the C1Gauge.Min value in the range. The C1RadialGauge.SweepAngle specifies the rotation added to the C1RadialGauge.StartAngle when the C1Gauge.Value property is set to the C1Gauge.Max value in the range.

    All angles are specified in degrees, measured clockwise from the top of the control. The angles may be negative, but the absolute value of the C1RadialGauge.SweepAngle may not exceed 360 degrees. The default values for C1RadialGauge.StartAngle is -140 and for C1RadialGauge.SweepAngle is 280.

    The images below show the effect of the C1RadialGauge.StartAngle and C1RadialGauge.SweepAngle properties:

     


    StartAngle = 0
    SweepAngle = 90


    StartAngle = 0
    SweepAngle = -90


    StartAngle = 45
    SweepAngle = 270


    StartAngle = -160
    SweepAngle = 180


    StartAngle = -160
    SweepAngle = -180


    StartAngle = -140
    SweepAngle = 280

    See Also