Home › forums › Using CanvasJS › combining candlestick chart and line chart (moving average line)
Tagged: candlestick chart
Regarding zoom and pan feature–
I am able to do zoom and scroll, but except one functionality.
The Y axis doesn’t re-scale as I move the chart after zooming (in your example in docs, it is behaving correctly).
I have added the following code:-
To my surprise, when I created jsfiddle for zomm and pane with the same code, resizing of Y axis is working in the fiddle.
But not in a separate browser window.
What may be the reason? Pl. help.
It seems you are using the older version of CanvasJS, the above mentioned bug was fixed in the recent version of CanvasJS (v2.0.1GA), please refer this blog post for more info. Kindly use the latest version of CanvasJS. In case the issue still persists please create a jsfiddle reproducing the issue so that we can look into it and help you out.
Great. It is working OK using the latest release.
You must be logged in to reply to this topic.