简体   繁体   English

Highcharts ColumnRange-在yAxsis上显示时间范围,而不是日期

[英]Highcharts ColumnRange - Display time range on yAxsis instead of Date

I have highchart issue . 我有海图问题。 Currently it disaplys Months on yAxsis as variable but in my arraylist [you can find it in jsfiddle] there is a variable called time duration which is normal hh:mm:ss format . 目前,它在yAxsis上不显示Months作为变量,但是在我的arraylist中(您可以在jsfiddle中找到它),有一个名为time duration的变量,它是正常的hh:mm:ss格式。 I want to display this on yAxis and let the bars display on this format . 我想在yAxis上显示它,并让条以这种格式显示。

Here is my jsfiddle 这是我的jsfiddle

jsfiddle example.. jsfiddle示例..

I resolved the issue . 我解决了这个问题。 All I changed is I assigned "from": 1 for all the varialbes data in arraylist and it starts from bottom of the chart till to reach to the end point to:... 我所更改的只是为arraylist中的所有varialbes数据分配了"from": 1 ,它从图表的底部开始直到到达终点为止to:...

Here is jsfiddle 这是jsfiddle

Thanks 谢谢

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM