put in line chart architecture for flexibility