Hi everyone
I am trying to colour each of the bars a specific RGB colour.
Can someone help with an expression I can use to specify the colours? Each bar is a result of a % of count e.g. # of dogs, # of cats, # of rabbits
Each animal/category needs to be a specific colour which I have the RGB for.
Thanks in advance 🙂
Hi
Under Appearance -> colour and legend
Choose Dimension
and write a calculated expression like
if(dimension='Cat',red(),
if(dimension='Dog',blue(),
if(dimension='rabbits',green(),
if(dimension='Bull',Brown()))))
Thanks for replying.
It's saying:
it just a sample code
you need to change the dimension
can you post your app.
I don't know how to post my app
you have to close IF
If(dim='Cat',red())
Click reply and left corner there is option to choose your qvf file.
Had to zip as wasn't accepting qvf - hope it works
Check the attachment and change the colour as per your need