X-Axis Color Scheme For The Histogram Graph

Hi team!

I have the following situation: suppose we have a histogram like the one in the image below:


It represents an arbitrary value in seconds and shows buckets of how many times the metric was between some values.
My question is; is it possible to have threshold values for the x-axis, meaning that if for example, I were to say that anything above 1s should be drawn in a different colour? Illustrated here with an edited graph:

Or better yet, being able to configure after which x value the thresholds take place, since if there are more values after 1s than let’s say 10, I would want to colour code that part of the graph to make it clear that something is going wrong.

Thanks in advance!

May be this approach would work for your case?