Daniel, have you tried to duplicate the category field (rename to category 2), and then pull that to color. Try using the match color option in labels, too. You can attach workbook if the problem exists and I will try to assist
I think Daniel is trying to assign color to the custom shapes which I don't think is possible. Yes, with inbuilt shape palettes, it can be done as John has shown.
At the end of the day you may be right, but his question specifically mentions the need to color the labels.
2 of 2 people found this helpful
So one of the issues (from the workbook you posted) is that the custom shapes (I think) are .jpgs, or are .pngs but don't have transparent backgrounds. This means when we put colour onto the shelf the entire "shape" of the icon is coloured, and so we loose the faces!
Attached are 3 .pngs (64 px) which allow them to be coloured (I got these off Free vector icons - SVG, PSD, PNG, EPS & Icon Font - Thousands of free icons ...my fave icon place!!). Once we have them we can colour them, and set the label colour to "Match Mark Colour"
Hope that helps.
Hi John, Simon and P N,
Thanks again for the replies.
Simon's last solution works.
My original icons are from the same website that Simon provided. I assumed the custom shapes are loaded correctly and have transparent background since I could see the smiley faces on my map.
I also read up earlier on the Shape Properties link.
Simon, your icons zip file are empty. I am wondering which smiley icons you selected? Black and white with transparent background?
Ooops! Sorry Daniel (I forgot I cut them out the .zip!!)...I've re-attached the .zip (to the correct answer thread) with the icons. Yes, Black and White transparent is what you need (I just typed in Happy Face, Sad Face and Anger Face into the FlatIcon search and picked a black/transparent one for each). If you wanted to use your original (or non-black/transparent) you could colour them (in something like paint.net...using the magic-wand/fill functions). You'd then not use the colouring in Tableau. To get your Labels, you'd dual Axis, set the marks to text, colour them (setting the colour to be the same as its icon) and do it that way. So unless you have very specific images you want to use, I'd opt for the black/transparent, as it's a lot less work!!!
Thanks a lot Simon.