wordcloud2.js icon indicating copy to clipboard operation
wordcloud2.js copied to clipboard

Backgroung Color

Open jun2mar opened this issue 7 years ago • 4 comments

Can you help me regarding on how to apply Background Color Transparent on the Option? I tried adding mask image and editing the option / the configuration background color to transparent but it seems the image mask turns to default. Any help?

jun2mar avatar Apr 12 '17 05:04 jun2mar

@jun2mar Could you share your mask image?

timdream avatar Apr 12 '17 06:04 timdream

Here sir, Mask Image

and then when i set the background color to rgba(0, 0, 0, 0) the word cloud image will set to default

jun2mar avatar Apr 12 '17 06:04 jun2mar

Look like it is indeed a bug. I am not entirely sure when I will get to it though. However if you do backgroundColor: 'rgba(255,255,255,0,01)' you'll be able to workaround it for now.

timdream avatar Apr 12 '17 06:04 timdream

Same issue here, can't figure out a solution.

RaviAsnani avatar Nov 24 '20 18:11 RaviAsnani