Fixed ticks for x-axis. This fixed issue #32