Bar charts are charts with rectangular bars with lengths proportional to the values they represent.
A bar chart displays data visually and allows comparison of categories or items. In other words, bar charts are ideal for comparing two or more values. One axis of the chart shows the specific categories being compared, and the other axis represents a discrete value. Data is displayed vertically.
A typical bar graph consists of a label, axis, scales, and bars. The bar chart displays data using bars of standard width, where each bar represents a particular category or item. The length of the bar is proportional to the values of categories or items. The bars are color-coded to represent grouping. Multiple bars are separated by thin spaces.
You can configure charts in SAP MII using the label and value columns. For details, see Data Mapping. You can change the parameter values that you configured in the template through scripting (See Web Page Scripting for i5Charts). When you move the cursor over with bars, a tool tip displays the label and value column values at specified points. On selecting a bar, the bar gets highlighted and the tool tip displays the values. The Legend area displays the description of the Value Columns and the associated colors.
Sample data returned from a query is as follows:
Month | ProductionQuality | EnergyConsumption | WaterConsumption |
---|---|---|---|
Jan | 61 | 55 | 41 |
Feb | 64 | 50 | 44 |
Mar | 63 | 49 | 39 |
Apr | 75 | 56 | 47 |
May | 87 | 55 | 41 |
Jun | 79 | 59 | 47 |
The configurations defined are:
Value Columns: ProductionQuality, EnergyConsumption, WaterConsumption
Label Columns: Month
Considering the data mentioned in the table and the defined configurations, the following bar chart displays the half yearly production quality of a country within a region.
An example of bar chart