updated chartjs version, added legend