1. Component library

ArrowIndicator

Version:

The ArrowIndicator control displays the difference between two values as an image and as a number. The control aligns the image and the number horizontally.

The two values are called OldValue and NewValue. The control shows the following images, depending on the relationship between the two values:

  • OldValue > NewValue: the control displays an arrow pointing down
  • OldValue < NewValue: the control displays an arrow pointing up
  • OldValue = NewValue: the control displays an equals (=) sign

The number that the control displays is the value difference between OldValue and NewValue. You can specify if the control displays this number as the absolute difference or as a percentage. If NewValue is less than OldValue then the control automatically displays the number as a negative number.

You can specify the colors and the size that the control uses for displaying the image and the number.

Properties

NameDescriptionDefault
Appearance
DownArrowColorSpecify the color of an arrow pointing down. You can use all color specifications that are valid in CSS.Red
EqualSignColorSpecify the color of an equals sign. You can use all color specifications that are valid in CSS.Gray
ImageSizeSpecify the size of the image. You can use these values: Small, Normal, Medium, Large, and ExtraLarge.Normal
ShowMinusSignSpecify if the control displays a minus sign when the number is negative. You can specify True or False.False
UpArrowColorSpecify the color of an arrow pointing up. You can use all color specifications that are valid in CSS.Green
ValueColorSpecify the color of the number value the control displays. You can use all color specifications that are valid in CSS.Black
ValueFormatSpecify how the control displays the number value. You can specify Number or Percentage.Number
ValueSizeSpecify the size of the number value the control displays. You can use these values: Small, Normal, Medium, Large, and ExtraLargeNormal
Data
DataBind the control to the data that it uses, for example: {Binding.DataProvider.Data}
If you have suggestions for improving this article, let us know!