We observe that x-values are not valid JavaScript date-time objects in your code and the jsfiddle you have shared is not working even in Google Chrome(v56.0.2924) or IE (v11.0.10240).
Chrome:
IE:
Please refer this link for valid JavaScript date-time formats. Changing it to valid format will work fine across all browsers. Also refer date-time axis for more info.
—
Vishwas R
Team CanvasJS
Can you kindly create a jsfiddle that reproduces the issue, so that we can look into it and help you out.
—
Vishwas R
Team CanvasJS
Lawrence,
Sorry this feature is not available as of now.
—
Vishwas R
Team CanvasJS
Daniel Silva,
We have just released v1.9.8 with this bug fix. Please refer to the release blog for more information.
—
Vishwas R
Team CanvasJS
Dinesh,
We have just released v1.9.8 with this bug fix. Please refer to the release blog for more information.
—
Vishwas R
Team CanvasJS
We have just released v1.9.8 with this bug fix. Please refer to the release blog for more information.
—
Vishwas R
Team CanvasJS
We have just released v1.9.8 with this bug fix. Please refer to the release blog for more information.
—
Vishwas R
Team CanvasJS
dataPoints should be an array, but we observe that you are passing string instead of array. Please check this updated jsfiddle.
—
Vishwas R
Team CanvasJS
Thanks for reporting. We are working on it and get back to you at the earliest.
—
Vishwas R
Team CanvasJS
Thanks for reporting. We are looking into the issue and get back to you at the earliest.
—
Vishwas R
Team CanvasJS
The JSFiddle that you have shared seems to be incomplete / not working, with which we are unable to debug the issue you are facing. Kindly create JSFiddle reproducing the issue you are facing along with some dummy data and share it with us so that we can run it at our end, debug & help you resolve the issue.
—
Vishwas R
Team CanvasJS
Looking at your query, most probably the issue is not related to CanvasJS but to JavaScript itself. Please refer to this stackoverflow thread for related info which might help you fix the issue. Please refer to this documentation page for more information & examples on date-time axis.
If you are still facing issue, kindly create JSFiddle reproducing the issue you are facing and share it with us so that we can look into the code / chart-options being used, understand the scenario better and help you out.
—
Vishwas R
Team CanvasJS
Looking at your query, most probably the issue is not related to CanvasJS but to JavaScript itself. Please refer to this stackoverflow thread for related info which might help you fix the issue.
If you are still facing issue, kindly create JSFiddle reproducing the issue you are facing and share it with us so that we can look into the code / chart-options being used, understand the scenario better and help you out.
—
Vishwas R
Team CanvasJS
We checked the behavior and discussed about it internally. It’s designed this way to handle all the chart types including specific chart types like bubble, scatter etc where this behavior is required. Your code seems to work perfectly in column chart but clips in other cases like in bubble chart. In future, we will consider this and improve the behavior based on chart types.
—
Vishwas R
Team CanvasJS
It seems to be working fine. I think you have confused contentFormatter with content. contentFormatter is a function whereas content is an attribute. Please refer this updated jsfiddle for the same.
If you are still facing any issue, kindly create a jsfiddle reproducing the same so that we can look into it and help you out.