I. Overview
1. Version
Report server version | Functional changes |
---|---|
10.0.18 | Multi-series map labels have added a display policy setting item, which supports the display of all series in general labels. See Section 2.3 for details |
2. Application scenarios
When "Field Name" is selected as the series name of the map data, and multiple series are set, we call it a multi-series map. As shown below:
The feature of multi-series maps is that multiple series of Labels orTooltipcan be set to display at the same time. So in what order are multiple series stacked in the front-end display? How does using a different type of legend affect the color scheme, labels, and data point hints for multiple series? This article will introduce the map multi-series settings and their display effects in detail.
II. Example: Area Map
Let's take the regional map as an example, first deal with the basic settings of the template, bind the data to the map, and then introduce the settings and effects of multiple series of map colors, labels and prompts.
Data Preparation
1. The Legend form is set to ordinary
1) Multiple series are set in the area map, the legend form is set to Ordinary, and label and Tooltip are turned on, as shown in the following figure:
Note: this tooltip does not check to show all series, because after checking this option, all series will share the prompt, no matter whether the series is hidden or not, the prompt information of all series will be displayed.
2) When the front end is displayed, the colors, labels and tooltips of the map are superimposed from bottom to top according to the sequence of the series, and the final display is the colors, labels and tooltips of the first series, as shown in the following figure:
3) Click a legend to hide the series corresponding to the legend. If the series are hidden, the colors of the next series will be displayed. If all the legends are hidden, the map will be gray, as shown in the following figure:
2. The Legend shape is set to gradient
1) Multiple series are set in the area map, and the legend shape is set to gradient. In the example, gradient is used, and label and tooltip are turned on, as shown in the following figure:
Note: this tooltip does not check to show all series, because after checking this option, all series will share the prompt, no matter whether the series is hidden or not, the prompt information of all series will be displayed.
2) In the front-end preview, there is no concept of series superposition. The map adopts the theme color of gradient color. Each area changes the depth of the theme color according to the gradient interval and the value of the first series, which indicates the size of the first series value.
Only the label and tooltip of the first series are displayed, as shown in the figure below:
3) Drag the interval bar of the legend area to hide the series outside the interval. The area is gray and the labels and prompts are hidden, as shown in the following figure
3. Labels and Tooltips
1) Attribute
Attributes | Label | hint |
---|---|---|
Check Use | By default, Use Label is not checked | Use Tooltipsis checked by default |
content | Generic/Rich Text/Custom | |
text | range name, series name, value, percentage | |
style | Auto/Custom | |
show strategy | When Common is selected for the content, Display all series at one timecan be checked, and the first series will be displayed by default when it is not checked; when Rich Text/Custom is selected, all series will not be displayed, only the first series will be displayed. series Note: When prompted to select Rich Text/Custom, the Display all series at one timesetting item can be checked but invalid | |
Display all series at one time is not checked by default | Display all series at one time is checked by default Can be set whether to follow the mouse |
Note: In the designer before version 10.0.18, " Label " does not support displaying all series, only the first series is displayed by default. If you want to display multiple series, you can refer to the documentation to Custom Map Label and Tooltip Location .
2) Function Settings
Click Style > Label and set as shown below:
Click Style >Tooltipsand set as shown below:
3) Effect PreviewWhen previewing, labels and prompts display all series, and the series can be displayed and hidden by clicking on the legend.- Colors are divided into series: labels and hint content are hidden as the legend is hidden.
Colors are divided into Value > Continuous Gradient: As the legend is hidden, the corresponding area of the map is hidden, and the labels and hints are also hidden.
The color is divided into value > area gradient: as the legend is hidden, the corresponding area of the map is hidden, and the labels and hints are also hidden.
III. Other maps
1. Point Map
The principle of multi series setting and superposition of point map is completely consistent with that of area map, as shown in the figure below:
2. Flow Map
The display principle of the line color flowing to the map is opposite to that of the area map. When previewing, the color of the last series is finally displayed, as shown in the following figure:
3. Combination Map
The color display order and series setting method of the combined map is the combination of the three maps described above, that is, although it is combined into one map, the color display of the series still adopts its own logic. And the series of point maps are always displayed above the series of regional maps and flow maps, and the series of flow maps are always displayed above the series of regional maps. As shown below:
IV. Template download
Completed template, see %fr_HOME%\webapps\webroot\WEB-INF\reportlets\doc-EN\Chart\Map\Map_MultiSeries.cpt
Click download template: