svgMap icon indicating copy to clipboard operation
svgMap copied to clipboard

Can you use a value for coloring without showing in tooltip?

Open SteveBlackUK opened this issue 2 years ago • 1 comments

I'd like to use a value for coloring but not show in my tooltip. The example is a credit rating - e.g., AAA AA A BBB, etc - I want to color based on that, but really I'd have to create numerical values for each bucket. I can do that, but I don't then want the tooltip to show some numerical value that isn't needed when the credit rating itself is what I'll show. I can get them both to show currently, but I'd like to be able to hide an item that is used for coloring. Possible? Thanks!

SteveBlackUK avatar Jul 19 '23 22:07 SteveBlackUK

Hey @SteveBlackUK I am not sure if I got it fully but with version 2.11.0 of svgMap we have a lot of sass variables to customize colors. Check the README.md section: https://github.com/StephanWagner/svgMap?tab=readme-ov-file#styling, maybe it suits your needs?

m1rm avatar Sep 08 '24 17:09 m1rm