問題描述
我一直在尋找用于時(shí)間跟蹤的圖表插件,即.發(fā)動(dòng)機(jī)時(shí)間跟蹤圖表如下圖:
I've been spending quite some time looking for a charting plugin for time tracking, ie. Engine Time Tracking chart as following image:
一點(diǎn)解釋:
綠色/紅色/灰色表示引擎開啟/引擎關(guān)閉/不可用橫軸是每一天的時(shí)間線縱軸是每一天
我只是展示一個(gè)例子,希望這里有人對這種圖表插件有任何想法.我不確定 HighCharts 堆疊條形圖 是否可以做到這一點(diǎn),因?yàn)槲蚁胍粋€(gè)狀態(tài)切換條形圖,不是累積的.
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.
提前致謝.
推薦答案
你可以嘗試使用柱狀范圍圖或者用datetime類型的軸堆疊.
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
這篇關(guān)于關(guān)于時(shí)間堆積條形圖的圖表插件有什么建議嗎?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!