'How to assign different colors to chart labels on graph interface in amChart 5?

I have a simple amChart5 chart. I would like to change the colors of the text that displays on the axes and assign a different color to each of these elements.

What I have: enter image description here

What I want: enter image description here

The documentation explains that you can change the color but it applies to the whole axis, to all elements at the same time.

Do you know if there is a way to treat each element individually?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source