Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • A value can be put into a bucket if it is greater than or equal to the threshold value of the bucket.
  • The value is placed in the bucket with the highest threshold possible
  • All buckets are processed from left to right.
Info

For our example, the bucket definition 80,60,0 can be used

...

.


  • If the value is >= 80 it will be placed in bucket 0. Whilst it could fit into all buckets, the bucket with the highest threshold is bucket 0, and this one will "win".
  • If the value is >= 60 but < 80, it will be placed in bucket 1. If could fit into buckets 1 or 2, but bucket 1 hast the highest threshold and will "win".
  • If the value is < 60 it can only fit into the third bucket.
Info

Note: if the value was negative, it would not fit into any bucket and no CSS rules would be applied. Since a service level should never be less than 0, this will not matter.  However, this principle can be used safely - simply not having a bucket definition for a range of values will result in no CSS being applied.