Excel in the same graph in Figure paintings stacked, and tied

Today, hospitals need to count the number of doctor prescription, prescription drugs are divided into long-term, temporary orders medicines, discharge medication and expedited discharge medication four kinds of statistics are distributed at different times of the day (0:00 -24 points), and need to compare number of prescriptions filled two different periods, respectively, when compared to more than 4 bar can simply:

 

Summary director but also requires four types together for comparison, i.e., stacked inside Videos FIG same period, between different stages in parallel, at this time need to rearrange the source data in Excel, as follows:

Different time offset is placed between each longitudinal bulk, in parallel with each other between the lateral, parallel stacking and if it is found in the wrong direction, the table may be transposed. Note that the first line, "0" can not write "0", otherwise it is not considered when mapping coordinates, but ordinary value (if the cell formatting to text type might be), and secondly, 2 should write on time. In addition, there must be separated by blank columns between different times, or will go wrong. Select the table, insert two-dimensional bar chart, shown below:

 

Barely draw graphics, but there are two problems, first, the time coordinate axis shows 2 times, a second, two stacking bar of the same point of time can not be close together. This should be the mapping logic is wrong, the problem should consider drawing from the emission source and order data.

Guess you like

Origin www.cnblogs.com/zm-pop-pk/p/11200546.html