A flying line map uses a map outline as the background and dynamic flying lines to reflect the data relationship between two or more regions. This topic describes how to add data to a flying line map and configure the style.
Prerequisites
A dashboard is created. For more information, see Create a dashboard.
The Geo field is switched. For more information, see Configure fields.
NoteFor example, to add the area field to the chart, you must first change the dimension type of the field to Geo. If the area field is marked with the icon, the dimension type of the area field is Geo.
Overview
Scenarios
It is mostly used for the display of spatially distributed data, suitable for the display of datasets with geographic location information, which is usually a summary of continuous information in units of a region.
Benefits
Visualization: Support for flying style maps.
Interactive operations: You can select a part of an LBS heat map and zoom in, modify the metric that you want to view in a map, or filter data that is displayed in the map.
Renderings
Create a chart
On the Fields tab, select the required dimension fields and measures.
You can specify Region Name or Longitude and Latitude in the Geo field.
NoteYou can set the From /Latitude and To /Latitude parameters to Region Name or Longitude and Latitude. You can also set the From /Latitude and To /Latitude parameters to cross each other.
If you select Area Name, double-click or drag province /city in the Dimensions list to From/To area.
If you select Latitude and Longitude, double-click the Longitude field and drag the Latitude field to the Latitude and Longitude field in the From/To section in the Dimension list. Location Label /Dimension Optional.
In the Measures list, double-click order_amt. You can also drag this measure to the Flying Route Color (Mea.) field. This configuration items is optional.
In the Measures list, double-click Profit Amt. You can also drag this measure to the Flying Route Threshold (Mea.) field. This configuration items is optional.
In the Measures list, double-click Shipping Cost. You can also drag this measure to the Flying Route Size (Mea.) Mea. field. This configuration items is optional.
Click Update to update the LBS flying line map.
Configure the chart style
The following section describes how to configure the styles of an LBS heat map. For information about the common style settings of charts, see Configure the Chart Title.
In the Map section, configure Display Range and Basemap Style.
You can set the Display range parameter to Auto or Custom. If the map has only one piece of data, we recommend that you select Custom.
If you set the Display Range parameter to Custom, the Custom Range parameter changes based on the fields that you select. In this example, Country map / China is selected.
If you turn on Manual Adjustment, the current center point and scale value are automatically generated. You can also manually modify the adjustment.
In the Outline and Fill section, you can configure the Block Base and Contour colors.
Basemap Style allows you to display basemaps in multiple styles.
In the Flying Routes section, configure Data Mapping Range, Flying Line Color, Transparency, and Flying Line Thresholds.
Data Mapping Interval: supports continuous intervals, equal intervals, and custom intervals.
NoteYou need to configure a data mapping interval only if the flying line color field has been configured for the current map.
Flying Route Color: You can select sequence gradient, split gradient, and custom colors.
Transparency: specifies the transparency of the flying routes.
Flying Line Threshold: If you have configured a measure, you can set the maximum and minimum flying line thickness.
In the Bubble section, configure Show Bubble, Bubble Color, Bubble Shape, Bubble Size, and 0 Value Processing.
Bubble Color: If you select Show Bubble, you can set the bubble color and transparency.
Bubble Shape: You can specify the circle, triangle, rectangle, diamond, and advanced settings. In the advanced settings, you can customize the shape of the start point and arrival point.
Bubble Size: You can drag and drop the bubble size. If no bubble size or metric is configured, you can only set the bubble size to static field, as shown in the following figure. If you set the Bubble Size /Metric parameter, you can set the minimum and maximum bubble size, as shown in the following figure.
0 Value Processing: You can select No Display, Change with Data Range, or Fixed Bubble Size.
In the label, configure the Display label, Label Display, Content, Position, and Text Style parameters.
NoteOnly the values of Region Name, Bubble Size, and Metric can be displayed. You can also select the Bubble Size and Metric fields.
In the Legend section, configure Show Legend, Legend Position, Background Color, and Text Style.
In the Functionality Settings section, select Enable Indicator Filter to filter data displayed in the map.
Limits
If you select Area Name for From /Dimension and To /Dimension to create a flying line map, the map consists of Area Name /Dimension and Flying Line Measure.
The Region Name parameter is determined by the dimension of the data. You can select a maximum of one dimension and the dimension must be a geographic field. such as province.
The flying line color is determined by the metric of the data. You can select a maximum of one metric. such as order_amt.
The flying line thickness is determined by the metric of the data. You can select a maximum of one metric. such as order_amt.
The bubble size is determined by the data measure. You must select at least one measure and a maximum of five measures. such as shipping_cost or order_number.
If you set the From /Dimension and To /Dimension parameter to Latitude /Longitude mode to create a flying line map, the map consists of Latitude /Longitude /Dimension, Location Label /Dimension, and Flying Line Measure.
The Latitude and Longitude field is determined by the dimension of the data. You can select a maximum of one longitude field and one latitude field.
Location labels are determined by the dimensions of the data. You can specify the dimensions of the string and geography types. This parameter is optional.
The flying line color is determined by the metric of the data. You can select a maximum of one metric. such as order_amt.
The flying line thickness is determined by the metric of the data. You can select a maximum of one metric. such as order_amt.
The bubble size is determined by the data measure. You must select at least one measure and a maximum of five measures. such as shipping_cost or order_number.