We have gone through the code you have shared, but we were unable to find any CanvasJS chart options in it. Can you kindly share a link to a working sample project reproducing the issue that you are facing? This would help us understand your requirements properly & assist you better.
___
Suyash Singh
Team CanvasJS
You can use the event parameter of rangeChanging() to access viewportMinimum and viewportMaximum. You can access axis as an array (e.axisX[0]), sorry for the inconvenience caused & we have updated jsfiddle for the same.
___
Suyash Singh
Team CanvasJS
Thanks for reporting. We will look into it and get back to you at the earliest.
___
Suyash Singh
Team CanvasJS
Please have a look at this jsfiddle for creating multiple charts from external JSON.
___
Suyash Singh
Team CanvasJS
@arborchew,
You can sync toolTips across charts by getting the pixel co-ordinates from the first chart & then triggering an event in second chart and so on. convertValueToPixel() and convertPixelToValue() methods can be used to getting the pixel co-ordinates & corresponding values. Here is a jsfiddle for the same. Please note that there may be a slight variation in x-value as pixel co-ordinates are used.
___
Suyash Singh
Team CanvasJS
No, the way dataPoints are rendered should not be related to AJAX calls. Can you please create a jsfiddle reproducing the issue so that we can look into it and help you out better?
___
Suyash Singh
Team CanvasJS
Currently legend items are available only at data-series level – Pie, Doughnut, Funnel & Pyramid charts being exceptions where legends are supported at dataPoint level. You might try separating the dataPoints to different data series.
___
Suyash Singh
Team CanvasJS
As of now, syncing tootTips across multiple charts isn’t possible, out of the box. However, we are considering it for the future versions. For now we will create a work-around and get back to you at the earliest.
___
Suyash Singh
Team CanvasJS
Based on selected range, you can filter the dataPoints, update it and render the chart. Please have a look at this jsfiddle.
___
Suyash Singh
Team CanvasJS
Are you looking for something like this? If not kindly brief us more about what you are looking for, so that we can understand your requirement better & help you out.
___
Suyash Singh
Team CanvasJS
Labels are generally not shown for all the dataPoints & the dataPoints may be rendered beyond the last dataPoint as well. This is because axis labels are rendered with fixed interval.
The plot in your case might be extending beyond the label 6-11-17
as there might be a dataPoint beyond it with difference in some hours. If you are still facing the issue, kindly create a JSFiddle reproducing the issue and share it with us so that we can look into it and help you out.
—
Suyash Singh
Team CanvasJS
Carlo,
We are unable to reproduce the issue with the chart options you have shared. Seems like some other chart is causing the issue. Can you please share the options of the chart which is throwing error. This will help us reproduce the issue and help you out better.
___
Suyash Singh
Team CanvasJS
The chart options you are using doesn’t seem to be in the format required by CanvasJS. Please refer this page to know more about the chart options accepted by CanvasJS.
___
Suyash Singh
Team CanvasJS