Personalize y-axis with specific values

I’m trying to find a way to force a specific value to appear on the graph on my axis and to change the color of my graph in function of the values, for example:
image

where:

  • Up is 1 in green
  • Down is 2 in red

should be:

  • testing is 3 in orange
  • not present is over 6 in purple

But I can’t see my Testing and NotPresent statuses on values 3 and 6…
Then to change the color of my graphic depending on the value it’s reaching. In my example, green for UP, red for DOWN.

I have this value mapping configuration for the value name:
image

And this threshold for the graph color:
image

I’ve find in the documentation a perfect example of what I would like:

with additional value mapping.