Fixed issues with logarithmic y-axis.