You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello!
What do you think of the idea of being able to return different results from the Colorizer based on the word being drawn? The use case in mind is that for certain word cloud we'd like to be able to provide a list of words that should be highlighted (eg drawn in another color than the base color).
We've found no way of doing this with how the library looks currently (please correct us if we've missed anything). One idea would perhaps be that the GetColorAsHex would receive the word being drawn and you could handle the return of the color in the Colorizer as you do currently. Any thoughts on this?
The text was updated successfully, but these errors were encountered:
Yes, I think that's a good idea. Should not be difficult to implement, so I can work on it later this week. Or if you want to send a pull request, I will gladly accept it.
Note that an external contributor also previously implemented the colorization in #4.
Hello!
What do you think of the idea of being able to return different results from the Colorizer based on the word being drawn? The use case in mind is that for certain word cloud we'd like to be able to provide a list of words that should be highlighted (eg drawn in another color than the base color).
We've found no way of doing this with how the library looks currently (please correct us if we've missed anything). One idea would perhaps be that the GetColorAsHex would receive the word being drawn and you could handle the return of the color in the Colorizer as you do currently. Any thoughts on this?
The text was updated successfully, but these errors were encountered: