I. Overview
The legend of the bubble chart can be set to Ordinary/Gradient/Section, and the effects are as follows:
1. Expected effect
1) Example 1: Ordinary
2) Example 2: Gradient
3) Example 3: Section
2. Implementation ideas
The form can be selected under the form setting item of bubble chart property panel Style > Legend.
II. Example 1: Ordinary
1. Data preparation
Create a new general report and add a built-in dataset example, as shown in the following figure:
2. Insert chart
Merge a range cell and insert a Bubble Chart, as shown in the following figure:
3. Binding data
Select the chart, select Cell Element > Data in the chart property panel on the right, and the settings are as follows:
4. Setting styles
1) Select the chart, select Style >Title, and the settings are as follows:
2) Select the chart, select Style > Legend, selectOrdinary form, and change the position to the top, as shown in the following figure:
3) Select Style > Series to modify the color matching, bubble size and opacity, as shown in the following figure:
4) Select Style > Coordinate Axis > X Axis, and the setting is as shown in the following figure:
5) Select Style > Coordinate Axis > Y Axis, and the setting is as shown in the following figure:
5. Effect preview
1) PC terminal
Save the template and clickPagination Preview. The effect is as follows:
2) Mobile terminal
III. Example 2: Gradient form
1. Data preparation
Create a new general report and add the built-in dataset BubbleScaling, as shown in the figure below:
2. Insert chart
Merge a range cell and insert a Bubble Chart, as shown in the following figure:
3. Binding data
Select the chart, select the Data in the chart property panel on the right, and the settings are as follows:
4. Setting styles
1) Select the chart, select Style >Title, and the settings are as follows:
2) Select the chart, click Style >Legend, change the shape to gradient color, and position to the right, as shown in the following figure:
3) Select Style > Series to modify the color scheme, opacity and bubble size, as shown in the following figure:
4) Select Style > Coordinate Axis > X Axis, and the setting is as shown in the following figure:
5) Select Style > Coordinate Axis > Y Axis, and the setting is as shown in the following figure:
5. Effect preview
1) PC terminal
Save the template and clickPagination Preview. The effect is as follows:
2) Mobile terminal:
IV. Example 3: Section
1. Data preparation
Create a new general report and add the built-in dataset BubbleScaling, as shown in the figure below:
2. Insert chart
Merge a range cell and insert a Bubble Chart, as shown in the following figure:
3. Binding data
Select the chart, select Data in the chart property panel on the right, and the settings are as follows:
4. Setting styles
1) Select the chart, select Style > Title, and the settings are as follows:
2) Select the chart, click Style > Legend, and the settings are as follows:
3) Select Style > Series to modify the color scheme, opacity and bubble size, as shown in the following figure:
4) Select Style >Coordinate Axis > X Axis, and the setting is as shown in the following figure:
5) Select Style > Coordinate Axis > Y Axis, and the setting is as shown in the following figure:
5. Effect preview
1) PC terminal
Save the template and clickPagination Preview. The effect is as follows:
2) Mobile terminal:
V. Template download
1. Example 1
Completed template, please refer to %fr_HOME%\webapps\webroot\WEB-INF\reportlets\doc-EN\Chart\BubbleChart\Bubble.cpt
Click to download the template:
2. Example 2
Completed template, please refer to %fr_HOME%\webapps\webroot\WEB-INF\reportlets\doc-EN\Chart\BubbleChart\GradientBubble.cpt
Click to download the template:
3. Example 3
Completed template, please refer to %fr_HOME%\webapps\webroot\WEB-INF\reportlets\doc-EN\Chart\BubbleChart\SectionBubble.cpt
Click to download the template: