Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

How to change charting.fieldColors through JS

$
0
0
Hi all, Setting "charting.fieldColors" in XML always works, but it failed when I try to change this value through js. My code is like this: var chartview = mvc.Components.get("chartid"); chartview.settings.set("charting.fieldColors",'{"sth":0x65a637}'); // tried call network.render(); already Is there any way to change fieldColors through JS? Thanks.

Viewing all articles
Browse latest Browse all 47296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>