Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for(let i = 0; i < chartData.length; i++) {
- parsedData.push({
- label: custNameArray[i],
- data: [chartData[i]],
- backgroundColor: "rgba(0, 142, 204, 1)",
- hoverRadius: 9,
- hidden: function(i){
- if(Condition){
- return true;
- }
- },
- });
- for(let i =0; i < chartData.length; i++){
- const hidden = Condition;
- parsedData.push({
- label: custNameArray[i],
- data: [chartData[i]],
- backgroundColor: "rgba(0, 142, 204, 1)",
- hoverRadius: 9,
- hidden
- })
Add Comment
Please, Sign In to add comment