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");
// tried call network.render(); already
Is there any way to change fieldColors through JS? Thanks.
Using your example, this worked for me:
View solution in original post
thanks @kbarker302! this is worked when the chartview.visualization is still null. Do you have any idea of applying this after visualization is built? (Again, adding network.render() does not work.)
Thanks a lot!
@chanmi2 it is been already 3 years but do you have any idea if you can share the solution to applying this after visualization is built?