ComponentOne Gauges for WPF and Silverlight
About C1Gauges / Using C1RadialGauge / 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 Minimum and Maximum values. The StartAngle defines the position of the pointer when the Value property is set to the Minimum value in the range. The SweepAngle specifies the rotation added to the StartAngle when the Value property is set to the Maximum 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 SweepAngle may not exceed 360 degrees. The default values for StartAngle is -140 and for SweepAngle is 280.

    The images below show the effect of the StartAngle and 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