|
How to set backgroud of items in Legend |
Posted by Alexander on Aug-28-2017 21:41 |
|
Hello,
How to set background of items in the legend box?
I want to remove transparency only under text, not for the legend box on the whole.
|
Re: How to set backgroud of items in Legend |
Posted by Peter Kwan on Aug-29-2017 06:09 |
|
Hi Alexander,
If your legend box is created using addLegend, you can configure the background color of the text label using CDML. For example:
b = c.addLegend(......)
b.setText("<*bgColor=CCCCCC*>{dataSetName}")
Regards
Peter Kwan |
Re: How to set backgroud of items in Legend |
Posted by Alexander on Aug-29-2017 18:46 |
|
Hi Peter,
Thank you for help.
That's it. |
|