Why is the last bar on my chart highlighted in a different color?