Guest User

Untitled

a guest
Jan 21st, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. for(let i = 0; i < chartData.length; i++) {
  2. parsedData.push({
  3. label: custNameArray[i],
  4. data: [chartData[i]],
  5. backgroundColor: "rgba(0, 142, 204, 1)",
  6. hoverRadius: 9,
  7. hidden: function(i){
  8. if(Condition){
  9. return true;
  10. }
  11. },
  12. });
  13.  
  14. for(let i =0; i < chartData.length; i++){
  15. const hidden = Condition;
  16. parsedData.push({
  17. label: custNameArray[i],
  18. data: [chartData[i]],
  19. backgroundColor: "rgba(0, 142, 204, 1)",
  20. hoverRadius: 9,
  21. hidden
  22. })
Add Comment
Please, Sign In to add comment