Scatter layer
This topic describes the icon styles of the scatter layer and the meanings of each configuration items.
Chart style
A scatter layer is a sub-component of a 3D spherical map. It supports independent styles and data configurations, including the size, color, longitude, and latitude of scatter points. It can represent the point data information of a geographic location in the form of scatter points. 
Settings
- Search for Configurations: In the right-side panel of Canvas Editor, click the Settings tab, and click Search for Configurations in the upper-right corner. Enter the required configuration item in the search box, and click the search icon to quickly locate the configuration item. Fuzzy match is supported. For more information, see Search for Configurations.
Animation Range: the animation range of the scattered dots. Valid value: 0 to 3.
Breathing Rate: the rate at which the scatter layer is gradually changing. Valid values: 0 to 0.2.
MaxValue Radius: the radius of the largest dot. Valid value: 1 to 100.
MinValue Radius: the radius of the smallest dot. Valid value: 1 to 50.
Scale: the ratio of the scatter layer and the radius of the 3D globe. The larger the value, the farther the scatter layer is from the center of the 3D globe. Valid value: 0.9 to 1.5. If the value is 1, the scatter layer overlaps the 3D globe surface.
Scatter Style
Parameter
Description
Inner Ring Color
The color of the inner circle of the scatter. Please refer to the color picker instructions for modification.
Outer ring color
The color of the outer circle of the scatter dots. For more information, see color picker instructions.
Gradient Quantity
The gradient degree of the scattered dots. Valid values: 0.1 to 30.
Data tab
Configuration field description
Parameter |
Description |
|
Optional. The geographic ID of the scatter. |
|
Optional. The longitude of a dot. |
|
Optional. The latitude of a dot. |
|
The size of a dot. |
| Parameter | Description |
| Controlled Mode | If you turn on the switch, data is not requested when a widget is initialized. Data requests are triggered only based on callback IDs or the method configured in Blueprint Editor. If you turn off the switch, data requests are automatically triggered. By default, the switch is turned off. |
| Auto Data Request | After you select the Auto Data Request check box, you can enable dynamic polling, and manually specify the polling interval. If you do not select this check box, data is not automatically requested. You must manually refresh the page to request data or use Blueprint Editor or callback ID events to trigger data requests. |
| Data Source | In the right-side panel of Canvas Editor, click the Data tab. Click Set next to Static Data. In the Configure Datasource panel, select a data source from the Data Source Type drop-down list. Enter code for data query in the code editor, click Preview Data Response to preview the response of the data source, and then view the response. For more information, see Configure asset data. |
| Data Filter | If you select the Data Filter check box, you can convert the data structure, filter data, and perform simple calculations. If you click the plus sign (+) next to Add Filter, you can configure the script for the data filter in the editor that appears. For more information, see Use the data filter. |
| Data Response Result | The response to a data request. If the data source changes, you can click the |
Interaction tab
This widget does not support interaction events.
Configure interactions in Blueprint Editor
In Canvas Editor, click the
icon on the right side of Scatter Layer in the 3D Globe widget list. Click the
icon in the upper-left corner. In Blueprint Editor, click the Scatter Layer component in the Import Nodes pane. You can view the parameters of the Scatter Layer component on the canvas, as shown in the following figure.

Event
Event
Description
When the dot plot request is completed
The event is triggered with the processed JSON data after a data interface request is responded and processed by a filter. For more information about specific data examples, see the Data Response Result section of the Data tab in the right-side configuration panel of the canvas editor.
When a dot plot request fails
The event that is returned when a data interface request fails (the request may be due to network problems or interface errors) and is processed by the filter. The event also throws the processed JSON data. For more information about specific data examples, see the Data Response Result section of the Data tab in the right-side configuration panel of the canvas editor.
Policy Action
Policy Action
Description
Request Point Chart
This action is performed to request the server data again. The data sent by an upstream data processing node or layer node is used as a parameter. In the scatter layer, the API data source is
https://api.test, and the data passed to the request point graph action is{ id: '1'}. Then, the final request interface ishttps://api.test?id=1.Import a dot chart
After data of a widget is processed in accordance with its drawing format, the widget is imported for redrawing. You do not need to request server data again. For more information about specific data examples, see the Data Response Result section of the Data tab in the right-side configuration panel of the canvas editor.
Display Widget
A widget is shown without the need to specify parameters.
Hide components
A widget is hidden without the need to specify parameters.