Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9069

Re: Show/hide Measures within a component (Line Chart) using Checkbox

$
0
0

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.

 

color.PNG


Viewing all articles
Browse latest Browse all 9069

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>