so i have the following script for Events > On Click for Initiated count . And the color that i am using as a default is #748CB2. Where should i add the setcssclass() in below
if (CHECKBOX_1.isChecked())
{
CHART_1.setDataSelection({
"Keyfigures": "OBJ_356" // Created Count
});
}
else
{
CHART_1.setDataSelection({
"Keyfigures": ["OBJ_356" , "OBJ_354"] // else both Created and Closed
});
}
Note : OBJ_356 is the ID of the PCRs Initiated count object. and OBJ_354 is for Closed count.