cancel
Showing results for 
Search instead for 
Did you mean: 
intapiuser
Community Team Member
Community Team Member
Introduction
Use this script to set the background color of the indicator widget.
Instructions
Create an indicator widget and add the following script
// set the background color here
var bgColor = '#F8F8F8'

widget.on('processresult', function(w, e) {

 var options = {
 
 backgroundColor: bgColor
 };

 w.indicatorInstance.setOptions('numericSimple', options);

});


widget.on('domready', function (w) {
 
 $(element).css('background-color', bgColor);

});
Version history
Last update:
‎03-02-2023 09:23 AM
Updated by:
Contributors
Community Toolbox

Recommended quick links to assist you in optimizing your community experience:

Developers Group:

Product Feedback Forum:

Need additional support?:

Submit a Support Request

The Legal Stuff

Have a question about the Sisense Community?

Email [email protected]

Share this page: