Changed line chart to bar chart for sensors