Map Automatic Refresh

  • Last update:January 20, 2025
  • Overview

    Version

    Report Server Version

    Functional Change

    11.0

    /

    Application Scenario

    FineReport supports the monitor refresh function. The frontend data can be updated in real time according to the dynamic changes of the backend data.  Taking the point map as an example, the effect is shown in the following figure.

    自动刷新PC.gif

    iconNote:
    When the chart data does not change, the frontend chart will not have a refresh animation effect, except for the tree structure chart, rectangular tree chart, multi-layer pie chart, Gantt chart, and framework chart.

    Function Entry

    Choose Special Effect > Interaction on the chart property panel, and you can enable Background Detection in Monitor Refresh, which is disabled by default, as shown in the following figure.

    image 11.png

    Example

    Chart Insertion

    Merge required cells, click the Insert Chart icon on the upper toolbar, select Point Map, and click OK, as shown in the following figure.

    image 12.png

    Data Preparation

    Create a general report and add the dataset named ds1. The SQL statement is as follows:

    SELECT pid as PID,Sales_volume as Sales,${int(RAND()*100000)}+ Sales_volume as 'New Sales' FROM Map where pid is not null and pid not in('Tianjin City') order by random() limit 5

    image 15.png

    Chart Data Setting

    Select the chart, and select Data on the right property panel to bind the data of the point map, as shown in the following figure.

    image 16.png

    Chart Style Setting

    Select the chart, choose Style > Series on the right side, select Custom Gradient Color as Color Scheme, and select Dot as Point Style, as shown in the following figure:

    image 17.png

    Chart Special Effect Setting

    Select the chart, choose Special Effect > Interaction > Monitor Refresh, set Time Interval to 5s, select Auto Tooltip, and set Content and Duration in the pop-up box, as shown in the following figure.

    image 20.png

    Effect Display

    PC

    Save the report and click Pagination Preview. The section "Application Scenario" shows the effect.

    Mobile Terminal

    The template can be previewed on both the DataAnalyst app and the HTML5 terminal. The following figure shows the effect.

    自动刷新手机.gif

    Template Download

    For details, you can download the template Auto Map Refresh.cpt.

    Attachment List


    Theme: Chart
    • Helpful
    • Not helpful
    • Only read

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

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

    不再提示

    9s后關閉

    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