Overview
Version
Report Server Version |
---|
11.0 |
Application Scenario
Displaying the hierarchical relationships among nodes, the horizontal structure chart is used to present the organizational hierarchy as well as the value of each node.
Chart Feature
Advantage: The chart allows you to view the hierarchical relationship easily and intuitively.
Disadvantage: The chart is unsuitable for large datasets.
Example
Report Design
Data Preparation
Choose File > New General Report, and create a built-in dataset File 1, which stores the data about the hierarchical relationships among departments and the remaining annual leave days of each department, as shown in the following figure.
Merge required cells, select the merged cell, click the Insert Chart icon on the upper toolbar, select Structure Chart, select Horizontal Structure Chart, and click OK, as shown in the following figure.
Data Binding
Click Data and bind required data to the chart, as shown in the following figure.
Structure Chart Design
Select the chart, click the Cell Element icon on the right property panel, and set the attributes (Type, Data, Style, and Special Effect) for the chart.
Style Setting
Select the chart, choose Style > Title, enter Horizontal Structure Chart in Text, choose Style > Label, select Use Label, and select Node Name in Text. Retain the default settings of other items, or modify the settings as needed, as shown in the following figure.
Effect Display
PC
Save the report and click Pagination Preview. The following figure shows the preview effect.
Mobile Terminal
The report can be previewed on both the DataAnalyst app and the HTML5 terminal. The following figure shows the effect.
Template Download
For details, you can download the template Horizontal Structure Chart.cpt.