default line chart functionality updated