Overview
Application Scenario
You can customize Rounded Corner and Fixed Column Width of column charts, as shown in the following figure.
Implementation Method
Set the column width: Choose Cell Element > Style > Series > Style, select Yes for Fixed Column Width, and enter the custom column width value.
Set the rounded corner attribute: Choose Cell Element > Style > Series > Border, and enter the custom rounded corner attribute value.
Example
Data Preparation
Create a general report and create a dataset named ds1. The SQL statement is SELECT * FROM Sales_Volume.
Report Design
1. Merge required cells, and insert Column Chart, as shown in the following figure.
2. Choose Cell Element > Data, and bind the data to the column chart, as shown in the following figure.
3. Select the chart, choose Cell Element > Style > Series, select Yes for Fixed Column Width, enter the fixed value 20px, and enter 10px for Rounded Corner, as shown in the following figure.
Effect Display
PC
Save the template, and click Pagination Preview. The following figure shows the effect.
Mobile Terminal
Template Download
For details, you can click to download the template: Custom Corner Attribute and Column Width for Column Charts.cpt.