简体   繁体   English

如何在Excel中创建时间范围图

[英]How to create graph of time ranges in Excel

Can anyone help me create graph of time ranges of all elements in Excel.谁能帮我在 Excel 中创建所有元素的时间范围图。 My data looks like this:我的数据如下所示: 样本数据

Connected At and Disconnected At data values are in 24 hours format. Connected At 和 Disconnected At 数据值采用 24 小时格式。

I want to make:我要实现: 想要的图

Do the bars have to be different colors?条形必须是不同的颜色吗?

在此处输入图片说明

If not, you can use a clustered bar chart.如果没有,您可以使用聚集条形图。

在此处输入图片说明

"Connected at" is one time series, "disconnected at" is another. “Connected at”是一个时间序列,“disconnected at”是另一个。 The "connected at" series should be listed second in the data source window. “connected at”系列应该在数据源窗口中列在第二位。

在此处输入图片说明

Format "connected at" with white border lines and white fill in the format data series pane.在格式数据系列窗格中使用白色边框线和白色填充格式“连接于”。

Last step is to set the Series overlap to 100% in the Series Options pane.最后一步是在系列选项窗格中将系列重叠设置为 100%。

在此处输入图片说明

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

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