Home › forums › Report Bugs › Candle Chart Date issue
Tagged: array, Candle Charts, date
This topic contains 3 replies, has 2 voices, and was last updated by Indranil Deo 8 months, 2 weeks ago.
I am evaluating CanvasJS for our web portal.
My date range starts from new Date(2012,01,03) and end on new Date(2017,08,04)
However, when moving the mouse on the screen it reports dates from Feb 01 2012 to 04 Sept 2017.
Please see http://jsfiddle.net/lucidtrend/m3gh8zut/
Issue 1… It looks like a month is being added in the programming script.
Issue 2… Zoom does not recalculate AxisY
Suggestion 1…x: as an integer array and and Y: [ date, open, high, low, close] structure may provide the same functionality as other charts your have. Handle Null value, or do not print missing value.
I am aiming to achieve http://www.lucid-trend.com/INTRO/1_5.png this type of charts using canvasJS
Thanks for reporting the issue regarding the miscalculation of the axisY on zooming. We are looking into the issue. We will get back to you at the earliest.
So, when the date is supplied in the following format, is my understanding correct?
Year – literal value as defined
Month – array value
day – literal value?
How can one supply date from a CSV file?
Please refer this thread.
You must be logged in to reply to this topic.