finish the chartjs integration