NumberBadgeColumn

Displays a number inside a badge (pill) with a color that is defined by

  • the range group the number falls into.

Example

<NumberBadgeColumn name="completed"
                   title="% Completed"
                   field="completed"
                   :infoMinimum="0"
                   :infoMaximum="59"
                   :warningMinimum="60"
                   :warningMaximum="79"
                   :successMinimum="80" />

Properties

This column provides default values for the following standard properties:

  • formatComponent
  • skeletonComponent
  • exportValue
NameTypeOptionalDescription
hideMinimumnumberYesA value greater than or equal to hideMinimum and less than or equal to hideMaximum will be hidden.
hideMaximumnumberYesA value greater than or equal to hideMinimum and less than or equal to hideMaximum will be hidden.
infoMinimumnumberYesA value greater than or equal to infoMinimum and less than or equal to infoMaximum will draw the badge with the info color scheme. This will take precedence over the hide properties.
infoMaximumnumberYesA value greater than or equal to infoMinimum and less than or equal to infoMaximum will draw the badge with the info color scheme. This will take precedence over the hide properties.
successMinimumnumberYesA value greater than or equal to successMinimum and less than or equal to successMaximum will draw the badge with the success color scheme. This will take precedence over the info properties.
successMaximumnumberYesA value greater than or equal to successMinimum and less than or equal to successMaximum will draw the badge with the success color scheme. This will take precedence over the info properties.
warningMinimumnumberYesA value greater than or equal to warningMinimum and less than or equal to warningMaximum will draw the badge with the warning color scheme. This will take precedence over the success properties.
warningMaximumnumberYesA value greater than or equal to warningMinimum and less than or equal to warningMaximum will draw the badge with the warning color scheme. This will take precedence over the success properties.
dangerMinimumnumberYesA value greater than or equal to dangerMinimum and less than or equal to dangerMaximum will draw the badge with the danger color scheme. This will take precedence over the warning properties.
dangerMaximumnumberYesA value greater than or equal to dangerMinimum and less than or equal to dangerMaximum will draw the badge with the danger color scheme. This will take precedence over the warning properties.