Edit this page

Working with Bars

This element represents a bar that can be used for indicating a specific value or as a scale for other indicators.

Design Time

The bar has start and end values and they can be tied to the gauge or can have static values. The bellow image shows two bars and the smart tag for the first one. As you can see the most important properties can be set directly in the smart tag.

Figure 1: Design Time

lineargauge-elements-working-with-bars 001

Properties

  • RangeStart: Indicates the start value of the bar.

  • RangeEnd: Indicates the end value of the bar.

  • Width, Width2: These properties represent the top and bottom (left or right if the element is placed horizontally) width values. These properties allow you to create triangle or trapezoid bars.

Figure 2: Width Property

lineargauge-elements-working-with-bars 002

  • Offset: Specifies how far to the left/bottom the control is shifted.

  • BackColor, BackColor2: By default the bar has linear gradient background and these properties allow you to set its colors.

Figure 3: BackColor Property

lineargauge-elements-working-with-bars 003

  • IsTopToBottom: Specifies the orientation of the bar.

  • BindStartRange, BindEndRange: These properties allow you to bind the start/end ranges of the bar to the ones of the gauge.

See Also

Was this article helpful? Yes No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy