line chart finally working