Sure, I’ll fix that. Can you please tell me which font you are using so that I can reproduce the same.
In JavaScript Month starts from 0 (January) and ends at 11(December). So while displaying they are incremented by 1.
From what I see, the graph is working fine. May I know what you mean by “when typing the PAN button the graph is initialized.”?
Thanks for reporting.. I’ll have a look into the issue and get back.
Sorry, but am not able to reproduce the issue. Can you please create a jsfiddle that reproduces the issue. Without a way to reproduce the issue its not possible to give a solution.
Please fork this template jsfiddle and create your chart that reproduces the issue.
Thanks for confirming.
in CHROME ZOOM works fine but when typing the PAN button the graph is initialized.
Continuing in this thread.
Why doesn’t this work.
I observed that “g” in “Meetings” & “Reports” is getting clipped by a few pixels on IE & Chrome while it works fine on Firefox. Is that what you are referring to?
Sorry about that. I’ve approved the same. Because of spam bots am using Akismet and in rare cases it marks genuine posts as spam.
[Update]
We have just released v1.9.5 Beta which supports Secondary X Axis and Multiple X / Y Axis. Please refer to the release blog for more information.
You can actually show negative values. If any of the given values are negative, y-axis/x-axis will automatically adjust. Labels are always shown at the bottom of chart area so that dataPoints don’t hide them. As of now there is no way to move the same to the center.
—
Sunil
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
for (var i = 0; i <= limit – 2; i + +) was feeding the x axis nulls.
You were getting a null value because there is an additional N in the end. You can either remove that N in the end and use limit – 1 or you can use limit – 2 as you are doing now.
You are not able to zoom/pan because there are only 5 dataPoints in the chart. CanvasJS stops zooming when there are only a few dataPoints in the view port and are clearly visible. If you add another 5-10 dataPoints atleast, you’ll be able to zoom/pan.
—
Sunil Urs
Himanshu,
Thanks for the confirmation. Me and my colleague observed the same couple of hours ago but were waiting for couple of confirmations before getting into any conclusion.
Can any one else update chrome & confirm the same please.
—
Sunil Urs
Its near completion. Sorry about the delay. Because this is a complete re-write of pie & doughnut with improved labelling, its taking more time that what I initially expected. But I can give you an internal build by the end of this week.
Do you want to save chart as an image or the data itself? Saving as an image isn’t available as of now. But if you want to save the data itself, it should be fairly simple to implement it yourself given that you have access to the data. Push all new dataPoints to a different array before assigning it to the chart.
—
Sunil