Successfully!

Error!

Example 2 Large screen example of automatic linkage playback of carousel

  • Last update:  2021-12-31
  • I. Overview

    1. Version

      Report Designer Version JAR packageExtended Charts Plugin Version
      10.0 2021-10-15  V2.2


    2. Application scenarios

    When the large screen chart (extended chart plugin) is played or refreshed to a certain point, the loading animation or incremental refresh of the linked chart is triggered, and the large screen will have a more cool effect.


    3. Function introduction

    When the dynamic effect is played, the data of other components are automatically triggered to follow the linkage, and the components are analyzed more specifically through linkage.

    As shown below:

    2.gif

    II. Preparation

    1. Data preparation

    Prepare the required data table and import the data table into the built-in FRDemo database: 

    data table.rar

    Note: For details, please refer to using third-party software to migrate the built-in FRDemo database to the specified database


    2. Layout

    According to actual needs, determine the main information of the carousel and the corresponding carousel form, as well as other required secondary information and display forms.

    The example in this article is to use the carousel target gear to link the other eight components, so the layout design is as shown in the following figure:

    2.png


    3. Preparation of beautification materials

    Prepare report block and large screen background image:

    Elements.rar

    III. Operation steps

    1. Plugin installation

    Install the Extended Chart plugin.


    2. Create a new template

    Create a new dashboard and store it as

     %FR_HOME%\webapps\webroot\WEB-INF\reportlets\demo\chart\extend\Automatically linkage with other components during carousel.frm

    Note: For details, please refer to the example of getting started with the dashboard

    1)Set adaptive properties

    Click the menuTemplate> PC Adaptive Attr, choose the Individually set for the templa, select font No Adaptive, form Bidirectional Adaptive, as shown in the following figure:

    Note: For details, see Template Adaptive Attributes

    3.png

    2)Set layout mode

    Select body, select attributes, set the layout type to Absolute Layout, and the zooming mode toArea fit. As shown below:

    Note: For details, please refer to the layout of the dashboard

    4.png


    3. Create a new dataset

    Create a new template dataset, as shown in the following table:

    DatasetSQL statement
    ds1SELECT * FROM Headquarter_pane
    ds2SELECT * FROM Headquarter_pane WHERE Branch='${c}'
    ds3SELECT * FROM Headquarter_brand WHERE Branch='${c}'
    ds4SELECT * FROM Headquarter_car_series WHERE Company='${c}' ORDER BY Sales
    ds5SELECT * FROM Heaadquarter_staff WHERE Branch='${c}'
    ds6SELECT * FROM Headquarter_month  WHERE Branch='${c}'
    ds7SELECT * FROM Headquarter_influence_factors WHERE Branch='${c}'
    ds8SELECT * FROM Headquarter_sales_analysis WHERE Branch='${c}'


    4. Design report

    1)Drag and drop of components

    • In order to facilitate data setting, when dragging and dropping components, the components, drag-and-drop sequence, and dataset can be matched, as shown in the following table:

    Widget namedatasetWidget Form
    chart0ds1Extended Chart-Others
    chart1ds2Extended Chart-KPI card
    chart2ds2Extended Chart-Gauge
    chart3ds3Pie Chart
    chart4ds4Bar Chart
    chart5ds5Word Cloud
    chart6ds6Area Chart
    chart7ds7Radar Chart
    chart8ds8Column Chart
    report00-Report Block
    report10-Report Block
    • According to the layout, drag and drop all the components to the corresponding positions in the order of the above table, as shown in the figure below:

    5.png

    2)Component settings

    For the design of extended charts, please refer to [New] Extended Charts, for other chart designs, please refer to [New] Charts, and for report block design, please refer to Cell Styles.


    5. Set up linkage

    Take chart0 linkage chart1 as an example.

    Edit chart0, select Special Effect>Carousel Linkage>Edit, set the form object, linkage animation, and parameters.

    • Form object: chart1

    • Linkage animation:

    Linkage Animation
    Animation Effect
    ReloadReload all components as a whole
    Incremental RefreshThe components are superimposed and updated on the existing basis
    • parameter:

    The parameter set in the document is branch='${c}', and the node name is set to branch in chart1, and the parameter c should select node name at this time.

    As shown below:

    6.png


    6. Beautify

    1)Set the big screen background

    Select the body, click Attributes>Advanced, set the Main Fillingimage, open the Background picture.png, and set the image format to Extended Image, as shown in the following figure:

    7.png

    2)Set title background

    Select the report block report10, click Attributes>Body Content, set the Main Fillingimage, open the title background.png, and set the image format to Extended Image, as shown in the following figure:

    8.png

    3)Set the chart block border

    Set borders for chart blocks chart2~chart8, take chart4 as an example.

    Select the chart block chart2, click Attributes>Body Content, set the Main Fillingimage, open the Border element.png, and set the image format to Extended Image, as shown in the following figure:

    9.png


    7. Preview effect

    Save the template, select the Pagination Preview, the effect is as shown in I.3. Function Introduction.

    Note 1: The extended chart does not support mobile preview.

    Note 2: The extended chart only supports Chrome browser.

    IV. Completed template

    The template has been completed, please refer to: 

    %FR_HOME%\webapps\webroot\WEB-INF\reportlets\demo\chart\extended chart\Automatic linkage with other components during carousel.frm

    Click to download the template: automatically link other components during carousel.frm

    Click to download the data sheet: 

    data table.rar

    Click to download the background frame picture: 

    Elements.rar


    Attachment List


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

    Doc Feedback