Map Drilling User Defined Hierarchy

  • Last update:March 05, 2024
  • I. Overview

    1. Expected effect

    In the Map drilling, taking the area map as an example, this paper introduces the map drilling function.

    The drill map can also use the form of user-defined combination to drill all the way from the point map to the final area map, as shown in the figure below:

    1.gif


    2. Implementation ideas

    This document will introduce the preparatory work of drilling map and its detailed attribute setting.

    II. Examples

    1. Map preparation

    The map directory %FR_HOME%\webapps\webroot\WEB-INF\assets\map\geographic\world\China.

    截屏2021-01-14 上午11.56.58.png

    For the demo, we have China, provience and city. We need additional json pacakge if we want to drill down more from city to district. For this example, we could only drill from country to province.


    2. Data preparation

    Create a new workbook and add the database dataset ds1: select * from MapEN to record the sales of each province.

    截屏2021-01-14 上午11.59.03.png


    3. Insert chart

    Combine a group of cells , click Insert > Cell Elements > Insert Chart, and select Drill Map >Custom Map, as shown in the figure below:


    4. Map data setting

    Select the chart and select Chart Attribute Table > Data > Drill Level in the chart attribute table on the right. The first level is Point Map and the rest is Area Map, as shown in the following figure

    Note: only when you select a custom map can you set the display type corresponding to each level

    Select Chart AttributeTable > Data > Data.Select each level to specify, as shown in the figure below:



    Note: the data can be selected from the bottom layer data summary or each level specified separately. The former is selected by default, which means that the data only need to drill through the bottom layer of the map, and the upper layer data is summarized from the bottom layer. If each level is specified separately, each level can be configured with different series according to the chart type and interface of the level


    5. Chart style setting

    Select Chart Property Sheet > Style > Legend, select GradientColor for Shape, and uncheck Legend is Visible

    Select Chart Property Sheet > Style > Series, select Defaultfor mark points of point map

    You can further set the chart style in the chart property sheet as needed, such as setting the title, font size, color and label, which will not be introduced here.


    6. Save and Preview

    Save the template and click pagination preview. The effect is as expected in I.1.

    III. Completed template

    Completed template, please refer to % fr_ HOME%\webapps\webroot\WEB-INF\reportlets\doc-EN\Chart\Map\drill.cpt

    Click to download the template:

    drill.cpt

    Attachment List


    Theme: Chart
    Already the First
    Already the Last
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy