Fixes issue 86

Chart now updates when updating the data (without re-assigning the array)