Hi,
I can surely help you with this. But without knowing the actual code & data its not possible to figure out the problem. In the code that you had previously provided there are only 5 data points and pan still works for me – though it doesn’t zoom. If you can create a jsfiddle which reproduces the issue, I can figure out the problem easily and suggest you a solution.
—
Sunil Urs