Added dynamic padding to line chart view