One good way of illustrate the usefulness of label callbacks in a slightly different context is to show how we can achieve the effect of an inverted Y-scale.
An inverted Y-scale has the lowest number at the top and the scale values increases downwards.
Even though JpGraph doesn't directly support this feature it is quite easy to achieve with just a few extra lines of code in your image script.
Before we continue we give an example of what we are referring to.
Two achieve this effect there are two simple steps to take:
And that's it! We refer you to the code in the example above for the details.