simple line chart working