Added back the UI changes in linechart that I forgot to add back after the last merge