I have created a string in my code that will print out in color using ANSI Code. So for example, I might use the following to create a string:
redString = “\033[91m” + “This string is red.”
yellowHighlightString = '\033[43m" + “Now it is highlighted in yellow.”
When I print either out to my console, they display as desired.
However, if I return these strings in container variables from my update_graph routine, and then display the strings on the dashboard, it does not recognize the ANSI code and prints it all out as actual text. Is there a way to display this string in color on the dashboard?