Color-coding values in our display

Remember from earlier in this chapter when I was mentioning that we need to draw our user into our data? Another way we can do this is by changing the color of our data when it is at a specific value range, for example, if the data is too high or too low.

Tip

Color can be used to provide direction and draw attention to interface elements or text, but color alone should not be used to convey content. When developing an application, color should be the last thing that you implement, as you need to remember that users who cannot access color may encounter difficulties when using or viewing your application.

We can make a minor addition to the Simple XML to give our count values a different color when we receive different ...

Get Learning Splunk Web Framework now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.