How to change background color of TextSprite and add image to it?
In my radar chart, the label of chart is a TextSprite. I need to change the background color of the label and add an image to the label in order to warn user that the data has problem.
Does anybody have any idea?
TextSprite is a Sprite which has, among other things, a setFill(Color) method. I am suspecting this will change the background color of the sprite (but I haven't tried).
It has no image support (that's not a Label), so you might need to display an ImageSprite next to it.