how to add data and labels in chart js dynamically code example Example: switch19 dynamically update js $('#ELEMENT_ID').attr('checked', 'false');