|
In x axis year is displaying as Jan 44, instead of Jan 13 |
Posted by Pravin Kumar on Oct-06-2013 03:50 |
|
Hi Team,
Using chart director (python), i am generation some stock charts. In x-axis year is getting added with 31 years. example: its displaying as Jan 44, instead of Jan 13. Please find graph attached with this post
I cross checked with timestamp i am passing and am sure that correct timestamp is getting passed
Could you please let me know whats is going wrong here?
Thanks,
Pravin.
|
Re: In x axis year is displaying as Jan 44, instead of Jan 13 |
Posted by Peter Kwan on Oct-07-2013 20:36 |
|
Hi Pravin Kumar,
It is likely you are using UNIX timestamps instead of "chartTime". See:
http://www.advsofteng.com/doc/cdpython.htm#dateformat.htm
To solve the problem, please convert the UNIX timestamps to "chartTime" first. For example:
myTimeStamps = map(chartTime2, myUNIXTimeStamps)
Hope this can help.
Regards
Peter Kwan |
|