On further research, there is no bug in the library actually. I had confused it with something else. In your code I hadn’t observed that you have missed interval property of axis. Unless you set interval property, intervalType is ignored.
Here is the chart working fine when the interval property is set to 1.