Forum Discussion
Anonymous
7 years agoNot applicable
R Custom Visual - Setting colours for each value in a field/column
I apologise if an answer to this has been posted previously - if it has I can't seem to locate it... I'm writing an RHTML based custom visual (basically a bar plot that does grouping and stacking...
Anonymous
7 years agoNot applicable
Hi again Daniel,
Thanks very much for having a look at it - I appreciate the time you spent trying to get it working. It looks like I'm not going mad after all and can't set colours the way I wanted to be able to (unless the visuals team has some insight on how to do it). I may just end up doing something simple like passing in a colour theme based on some enumerated values (which is a bit too much like hard-coding for my taste).
I'll post any information I can gather here in case someone else runs into the same issue.
Thanks again.
Frank
Anonymous
7 years agoNot applicable
There doesn't appear to be a way to pass dynamic/data driven properties through to R according to the PBI visuals team. Their recommendation was to implement the visual in TypeScript.