My modified version of chartjs