Fixed a problem that caused the graphs to appear incorrectly when the min and max Y value were the same