move line chart into knockout viewmodel