how do i achieve timezone independence in highcharts export server?

随声附和 提交于 2019-12-11 14:45:53

问题


I have highcharts export server(2.0.14) configured in Europe timezone and i have my system in indian time zone. i am using java to create a json and sent it to the highcharts export server to get an png image of the graph. But the export server is generating an x-axis(datetime) which is timezone dependent. how do i achieve timezone independence for x-axis

i have tried using

time:{
   useUTC: false
}

following is the fiddle link.

https://jsfiddle.net/btcLqhs0/

if you sent the same json in the fiddle to the highcharts export server the x-axis scale would be different.

The image attached is the result of the highcharts export server .

I expect the x-axis of the graph from highcharts export server and highcharts server to match

来源:https://stackoverflow.com/questions/58705512/how-do-i-achieve-timezone-independence-in-highcharts-export-server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!