Colored Map

更新时间:
复制 MD 格式

Colored maps use color shading to represent data magnitude and distribution. You can add data to a colored map and configure its style.

Prerequisites

You have created a data visualization screen. For more information, see Create a Data Visualization Screen.

Example

效果图-01

Configure chart fields

  1. In the Charts section of the component library, find Filled Map and drag it onto the canvas.image

  2. Click Select a Dataset and add data as shown in the following figure. The chart is then updated.image

You can also perform the following operations on the data:

image.png

Configure the chart style

  1. Geographic Area

    Configure the following settings:

    • For Display Range, select Auto or Custom.

      Note
      • The Auto option adjusts the range based on the data. The Custom option lets you set the range manually. In interactive analysis scenarios, the range is always adjusted automatically.

      • The custom display range currently supports continents and countries worldwide, along with regions, provinces, and cities in China.

      image

      You can also select Manual Adjustment. When enabled, the centroid and scaling values are automatically generated. You can modify them manually.image

    • For Outline and Fill, configure the background color of areas and the outline color.

      Note

      Outlines cannot be displayed for some regions.

      image

    • For Display Basemap, select from multiple Amap basemap styles.

    • For Outer Outline Flow, enable or disable this feature. When enabled, you can set the Flow Color (Solid/Gradient), Thickness, Speed, and Length.

      Untitled

  2. Area Style

    Configure the following settings:

    • For Color Scale Configuration, set the Theme Color and adjust the Transparency.

    • For Data Mapping Range, select Continuous Range, Equal Interval, or Custom Range.

      image

      If you select Custom Range, set the Interval Basis to Absolute Value or Percentage.

      image

  3. Data Labels

    Configure the following settings:

    • Show Data Labels:

      If you create a map in Area Name mode, you can display both the Area Name and the Measure.

      If you create a map in Latitude and Longitude mode, you can display both the Latitude and Longitude and the Measure. If you configure Location Label/Dimension, you can also display the Location Label.

    • Label Display Mode: Select Smart Display or Full Display. Smart Display works best for maps with many place names.

    • Text Style: Configure the text style for the Area Name, Latitude and Longitude, and Measure data labels.

      Untitled

  4. Legend

    In the legend settings, select Show Legend and configure the legend's Position, Background Color, and Text Style.

    Untitled

  5. Tooltip

    In the tooltip settings, select Enable Tooltip and configure the Background Color, Text, and Carousel.

    Enable Tooltip is selected by default. The tooltip appears when you hover over an area on the map.

    工具提示

    You can enable Auto Carousel. When enabled, tooltips cycle automatically. You can set the Duration and Interval for the carousel.

    Untitled

Configure chart events

Configuration Item

Name

Configuration

Description

Data Event

Drill Down

数据事件

To analyze a dimension at different levels, configure drill-down for a dimension field. Clicking the field changes the level and analysis granularity. For more information, see Drill-down settings.

Linkage

If the data you need to analyze is across different charts, use chart linkage to associate multiple charts for data analysis. For more information, see Linkage settings.

Hyperlink

If the data you need to analyze spans multiple data visualization screens or dashboards, use hyperlinks to associate multiple reports for data analysis. Hyperlinks include parameter-based hyperlinks and external links. For more information, see Drill Down, Linkage, and Hyperlink.

Layer Event

Enable Link Redirection

图层事件

For layer events, select Enable Link Redirection, Click to Pop Up Layer, or Click to Go to Page. For more information, see Configure click events.