Overview
Version
Report Server Version |
11.0 |
Application Scenario
The following figure shows the gradient effect for all the columns.
The following figure shows the gradient effect for each column.
The following figure shows the gradient effect for multiple series.
Function Description
Choose Cell Element > Style > Series and set Gradient Style in Color, as shown in the following figure.
Auto: Automatically set the gradient style based on the color scheme of the series.
Custom: You can click the icons on the left and right to customize the colors of the gradient left and right intervals.
Off: Cancel the gradient style, and the column colors will be displayed completely based on the color scheme.
Gradient Column Chart
Data Preparation
Create a database query dataset named ds1 and enter the SQL statement SELECT * FROM Sales_Volume.
Chart Insertion
Merge required cells, and insert a column chart, as shown in the following figure.
Data Binding
Bind the data to the column chart, as shown in the following figure.
Title Setting
Choose Style > Title on the Cell Element configuration panel and set Text, Position, and Character, as shown in the following figure.
Gradient Effect Setting
Choose Style > Series on the Cell Element configuration panel, select Custom for Gradient Style, and use the default style, 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
Gradient Chart for Each Column
Prepare the data, insert the chart, and bind the data following the steps above.
Title Setting
Choose Style > Title on the Cell Element configuration panel and set Text, Position, and Character, as shown in the following figure.
Gradient Effect Setting
1. Set the gradient color for the first column. Choose Special Effect > Condition Display on the Cell Element configuration panel, add Condition Attribute, select Color for Attribute, customize the color for Gradient, and set Common Condition to Category Index Equal to 1, as shown in the following figure.
2. Similarly, set the gradient color for the second column, with Common Condition being Category Index Equal to 2, 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
Multi-Series Gradient Chart
Data Preparation
Create a database query dataset named ds1 and enter the SQL statementSELECT * FROM Sales_Volume.
Chart Insertion
Merge required cells, and insert a column chart, as shown in the following figure.
Data Binding
Bind the data to the column chart, as shown in the following figure.
Title Setting
Choose Style > Title on the Cell Element configuration panel and set Text, Position, and Character, as shown in the following figure.
Gradient Effect Setting
1. Set the gradient color for the first series. Choose Special Effect > Condition Display, add Condition Attribute, select Color for Attribute, customize the color for Gradient, and set Common Condition to Series Index Equal to 1, as shown in the following figure.
2. Similarly, set the gradient color for the second series, with Common Condition being Series Index Equal to 2, 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
Template Download
Gradient Column Chart
For details, you can click to download the template Gradient Column Chart.cpt.
Gradient Chart for Each Column
For details, you can click to download the template Gradient Chart for Each Column.cpt.
Multi-Series Gradient Chart
For details, you can click to download the template Multi-Series Gradient Column Chart.cpt.