Any suggestion on charting plugin for time stacked

2019-03-06 01:48发布

I've been spending quite some time looking for a charting plugin for time tracking, ie. Engine Time Tracking chart as following image: enter image description here

A bit explanation:

green / red / gray denotes engine on / engine off / not available horizontal axis is the time line for each day vertical axis is every single day

I am just showing an example and expecting someone here has any idea about this kind of charting plugins. I am not sure whether HighCharts stacked bar chart can do that, since I want a status switching bar chart, not an accumulative one.

Thanks in advance.

2条回答
狗以群分
2楼-- · 2019-03-06 02:33

You can try to use column range chart or stacked with datetime type of axis.

http://www.highcharts.com/demo/columnrange

http://api.highcharts.com/highcharts#xAxis.type

查看更多
Evening l夕情丶
3楼-- · 2019-03-06 02:37

You should be able to do this in Flotr (which has a better license than highcharts) by just throwing what they showed in this blog post on its side.

查看更多
登录 后发表回答