ComponentOne Gauges for WPF and Silverlight
About C1Gauges / Using C1Knob / C1Knob Decorators / C1Knob Decorators Location
In This Topic
    C1Knob Decorators Location
    In This Topic

    Each decorator element has a C1GaugeDecorator.Location property that determines where the elements are displayed. These properties range from zero (the center of the gauge) to one (the outer edge of the gauge). The gauge control also has a C1RadialGauge.Radius property that ranges from zero to one and affects the positioning of all decorators. The default value for the radius property is 0.8, which causes all decorators to be displayed entirely within the control.

    For example, if you set the Location property for the C1GaugeLabel was to 1.1 the labels will appear offset towards the outer edge of the knob. The labels are still drawn within the control because the Radius property is set to 0.8 (the actual position of the labels in this case can be calculated as 1.1 * 0.8 = 0.88).