A line map uses dynamic lines over a map outline to show data relationships between two or more regions. This topic describes how to add data to a line map and configure its style.
Limits
If you create a line map in Region Name mode using the From/dimension and To/dimension fields, the map is configured with the Region Name/dimension and Line Measure fields.
The Region Name field requires a single dimension that must be a geographic field, such as a province.
The Line color is determined by a single measure, such as Order amount.
The Line thickness is determined by a single measure, such as Order amount.
The Bubble Size is determined by one to five measures, such as shipping cost and order quantity.
If you create a line map in Latitude And Longitude mode using the From/dimension and To/dimension fields, the map is configured with the Latitude And Longitude/dimension, Location Label/dimension, and Line Measure fields.
The Latitude And Longitude field consists of a single longitude field and a single latitude field.
The Location Label field is an optional field that accepts a string or a geographic dimension.
The Line color is determined by a single measure, such as Order amount.
The Line thickness is determined by a single measure, such as Order amount.
The Bubble Size is determined by one to five measures, such as shipping cost and order quantity.
Prerequisites
A dashboard is created. For more information, see Create a Dashboard.
A geographic field is configured in your dataset. For more information, see Configure a field.
NoteFor example, if the geographic field to add to the chart is area, the
icon indicates that the field is a geographic information type. For a detailed mapping of regions, see public-area-info.xlsx. This table is for geographic region matching reference only and does not represent the political stance of Quick BI.
Overview
Scenarios
You can use this chart to visualize the spatial distribution of data. It is suitable for datasets that contain geographic location information and typically shows continuous, aggregated data for specific regions.
Advantages
Visualization: You can create flight-style maps.
Interaction: You can interact with the map by zooming into specific areas, switching metrics, and filtering data within widgets.
Example

Configure chart fields
On the Fields tab, select the required dimensions and measures.
Configure the Geographic Information field using either Region Name or Latitude And Longitude.
NoteThe From/dimension and To/dimension fields accept Region Name and Latitude And Longitude data. You can also use a combination of both.
If you select Region Name, find Province/City in the Dimensions list. Then, double-click or drag it to the Region Name/dimension field in the From/To area.
If you select Latitude And Longitude, find the Longitude and Latitude fields in the Dimensions list. Then, double-click or drag them to the Latitude And Longitude/dimension field in the From/To area. The Location Label/dimension field is optional.
In the Measures list, find Order Amount. Then, double-click or drag it to the Line color/ Measure area. This configuration item is optional.
In the Measures list, find Profit Amount. Then, double-click or drag it to the Line thickness/ Measure area. This configuration item is optional.
In the Measures list, find Shipping Cost. Then, double-click or drag it to the Bubble size/ Measure area. This configuration item is optional.
Click Update to automatically update the chart.

Configure styles
The following sections describe the style settings for the line map. For information about general style settings, see Configure the Chart Title.
In the Map Area section, set Display Range and Base Map Style.
Display Range: Set this to Auto or Custom. In this example, select China.
NoteAuto automatically adjusts the display based on the data range. Custom lets you set the range manually. In interactive analysis scenarios, the display is always automatically adjusted based on the data range.
The custom display range currently supports only global continents and countries, and regions, provinces, and cities in China.

Enable Manual Adjustment to automatically generate the current Centroid and Scaling values. You can then modify these values.

In the Outline And Fill section, configure the Block Background Color and Outline color.
NoteOutlines are not supported for some regions.

In the Base map section, you can configure the Show base map, Base map style, and Show global base map settings.
Show base map: Click the
switch to show or hide the base map.
Base map style: Select from various Gaode base map styles.

Show global base map: Select this option to display global information, such as cities, on the base map.
NoteGlobal base map limits: Each Quick BI organization can preview map charts with base map information from outside China 1,000 times per month. The number of previews is calculated based on the number of times the base map is initialized. After the limit is reached, the map chart displays only base map information for mainland China.
In the Line section, you can configure the Data Mapping Range, Line Color, Transparency, and Line Thickness.
Data Mapping Range: Select Continuous range, Equal intervals, or Custom range.
NoteYou can configure the data mapping range only if a field is set for Line color.

Line color: Choose from Sequential gradient, Diverging gradient, or Custom color modes.
Transparency: Set the transparency of the lines.
Line thickness: If a measure is configured for this setting, you can set the minimum and maximum line thickness.

In the Bubble section, you can configure settings such as Show bubbles, Bubble Color, Bubble Shape, Bubble Size, and 0-value Handling.
Bubble Color: If you choose to show bubbles, you can set the bubble color and transparency.
Bubble Shape: Select Circle, Triangle, Rectangle, or Diamond. In the Advanced settings, you can also customize the shapes for the start and end points.

Bubble Size: Drag the slider to adjust the bubble size. If no measure is configured, you can only set a fixed size using a static field, as shown in Figure ①. If a measure is configured, you can set the minimum and maximum sizes, as shown in Figure ②.

0-value Handling: Select from the following options: Do not display, Follow data range, or Fixed bubble size.

In the Data Label section, you can configure settings such as Show Data Labels, Label Display Format, and Content, Position, and Text Style.
NoteYou can display values only for Region Name and Bubble size/measure. These options are configurable only when the Bubble size/measure field is set.

In the Legend section, you can choose whether to show the legend. You can also configure its position, background color, and text style.

In the Feature Configuration section, you can enable metric filtering to select which metrics to display.
