Any suggestion on charting plugin for time stacked

2019-03-06 01:47发布

问题:

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

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.

回答1:

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.



回答2:

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