Fleet versions 4.85.0
Web browser and operating system:
💥 Actual behavior
Charts that are colored using a relative scale are doing so based on the percentage of hosts in a bucket, rather than the number of hosts. So in certain cases where the numbers may vary a good amount but they still represent a small percentage of the whole, the chart may only use one or two colors.
🛠️ Expected behavior
A relative chart should always show all colors as long as there are at least 5 distinct values in the chart.
🧑💻 Steps to reproduce
- Start an instance with 10 hosts, and use the chart-backfill tool to backfill
uptime data for the last 30 days.
- Add an additional 990 hosts to the instance without backfilling
- Note that the "hosts online" chart is all one color (since every square will represent 1% (rounded up) of the 1000 hosts)

Fleet versions 4.85.0
Web browser and operating system:
💥 Actual behavior
Charts that are colored using a relative scale are doing so based on the percentage of hosts in a bucket, rather than the number of hosts. So in certain cases where the numbers may vary a good amount but they still represent a small percentage of the whole, the chart may only use one or two colors.
🛠️ Expected behavior
A relative chart should always show all colors as long as there are at least 5 distinct values in the chart.
🧑💻 Steps to reproduce
uptimedata for the last 30 days.