Overview
Version
Report Server Version |
---|
11.0 |
Application Scenario
The gradient scatter chart is one of the most common charts in scientific illustrations. The chart is usually used to display and compare values by using a series of scatter points to show the value distribution of variables in a Cartesian coordinate system, allowing you to observe the relationship and correlation between two variables, as shown in the following figure.
Chart Feature
Advantage: The chart is suitable for relatively large datasets, and can display the distribution and aggregation of data.
Example
Data Preparation
Choose File > New General Report in the upper left of the designer. Click xxx, click Database Query, and enter the SQL statement SELECT * FROM chance to create a database query ds1, as shown in the following figure.
Chart Insertion
Merge required cells, click the Insert Chart icon on the upper toolbar, select Scatter Chart, and click OK, as shown in the following figure.
Scatter 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.
Data Binding
Click Data and bind required data to the chart, as shown in the following figure.
Style Setting
1. Choose Style > Title and enter Production Per Year, as shown in the following figure.
2. Choose Style > Legend and deselect Show Legend, as shown in the following figure.
3. Choose Style > Series, set Color Section to Value, and modify Section Range to 3, as shown in the following figure.
4. Choose Style > Background > Drawing Area, and select Solid Line from the Horizontal drop-down list, as shown in the following figure.
Effect Display
PC
Save the report and click Pagination Preview. The section "Application Scenario" shows the 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 Gradient Scatter Chart.cpt.