Building for the Splunk Platform

how to set different chartView instances on a javascript page to display timecharts using different colors

pgoldweic
Communicator

Having read numerous posts explaining how to use "charting.seriesColors", I concluded that to set the (unique) bar color of a timechart I would need to set this property to a 1 element array (my sought after color). (note: I have something like "|timechart count " as the search associated with each ChartView)
However, I have several ChartView instances on my javascript page and I'd like them to use a distinct color each. When I try setting the above property on each of these charts to a distinct 1-element array (each array using a distinct color, such as "charting.seriesColors": [0xcc5068]), this does not appear to work, and all the instances end up using the same color.
Why is this? Is there a way to achieve what I'm looking for?

Labels (2)
0 Karma
Get Updates on the Splunk Community!

Devesh Logendran, Splunk, and the Singapore Cyber Conquest

At this year’s Splunk University, I had the privilege of chatting with Devesh Logendran, one of the winners in ...

There's No Place Like Chrome and the Splunk Platform

WATCH NOW!Malware. Risky Extensions. Data Exfiltration. End-users are increasingly reliant on browsers to ...

Customer Experience | Join the Customer Advisory Board!

Are you ready to take your Splunk journey to the next level? 🚀 We invite you to join our elite squad ...