Quantcast
Channel: Developer topics
Viewing all articles
Browse latest Browse all 18093

What format is returned from colorPalette.getColor ()? Hex, RGB etc

$
0
0

Hi there

 

I am attempting to change one line in pbiviz.json file to update the color:

 

Change json code from:

 

var m = e.getColor(h.toString());

(above works and cycles through the different colours in the colour pallette)

 

 

To (does not work):

 

var m=\"#ED1C24\";

or

var m=\"ED1C24\";

or

var m=\"red\";

 

None of the above works, and the visual always comes out black, irrespective of the hex code / color name used.

 

My query is then what does e.getColor(String) return? 

 

Thank you


Viewing all articles
Browse latest Browse all 18093

Trending Articles


FLASHBACK WITH SIRASA FM AT GALGAMUWA 2022


Mp3 Download: Mdu - Mazola


Imitation gun was fired at motorist in Leicester road-rage incident


Ndebele names


MCKINNEY EMALINE “EMMA” OF WES...


Okra & Motia — The Workshop (Prod by Hammer)


Skint TV teen to be sentenced


Moondru Mudichu 19-09-2017 – Polimer tv Serial


YOSVANI JAMES Arrested by Miami-Dade County Corrections on Jan 10, 2017


Stories • Goddess Stepmom



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