Sankey Chart

  • Last update:December 27, 2024
  • Overview

    Version

    Report Server Version

    Plugin Version

    Functional Change

    11.0

    V1.3.2

    /

    11.0

    V2.0.9

    Added the node alignment configuration.

    Added the label color condition attribute.

    Added the label display value function.

    Application Scenario

    Sankey charts, also known as sankey diagrams, are a specific type of flow charts that describe the flow from a group of values to another group of values. Such charts are suitable for displaying the flow and distribution of energy, resources, funds, and other indicators between multiple states or stages.

    The initial flow and the final flow in a sankey chart are the same. The total width of all main lines is equal to that of all divergent sub lines, maintaining energy balance. In the chart, different lines represent different flow diversion situations. The width of each line proportionally display the flow occupied by this line. For nodes, different widths represent different flow sizes in specific states. The width of each divergent line in the chart corresponds to the size of the data flow, which is usually applied to the data visualization analysis in scenarios such as energy, material composition, and finance.

    image 1.png

    Function Description

    The Sankey Chart plugin provided by FineRuan is mainly used to display the flow and distribution of data between different nodes.

    The tooltip can move with the cursor.

    The plugin allows you to customize titles, labels, nodes, and line styles.

    The plugin is not supported in IE8 browsers. Do not download or enable this plugin when using IE8 browsers. Otherwise, the operation of other templates may be affected.

    This plugin is not supported on mobile terminals.

    Plugin Introduction

    Plugin Installation

    You can contact our technical support to obtain the plugin.

    For details about how to install the plugin in the designer, see Designer Plugin Management.

    For details about how to install the plugin on the server, see Server Plugin Management.

    Function Entry

    1. General Report

    Select the merged cell, click the Insert Chart icon on the upper toolbar, select Sankey Chart, and click OK, as shown in the following figure.

    image 2.png

    2. FVS Visualization Dashboard

    Add a table component in FVS. Edit the table, select the Insert Chart icon on the upper toolbar, and select Sankey Chart in the chart type window, as shown in the following figure.

    iconNote:
    FVS only allows you to insert Sankey Chart in Table Component but does not allow you to use Sankey Chart directly in Chart Component.

     image 3.png

    3. FRM Dashboard

    On the upper chart toolbar in an FRM dashboard, select the Sankey Chart icon to add the diagram, as shown in the following figure.

    iconNote:
    The FRM dashboard allows you to use Sankey Chart in a report/chart block.

    image 6.png

    Attribute Setting

    Data

    Data Source can be set to Dataset Data or Cell Data.

    iconNote:
    Data cannot be stuck in a dead loop. For example, A flows to B, and B flows back to A.

    image 7.png

    Style

    You can configure Title, Label, Node, Line, Other, and Prompt.

     image 11.png

     image 15.png

    The following table explains the details.

    Style

    Description

    Illustration

    Title

    You can configure the main title and subtitle.

    You can customize Condition Display, CharacterPosition, Main Title Style, Subtitle Style, and Background Color.

    image 16.png

    Label

    For labels, you can   configure Show Label, Position, Show Node Name, Show Node   Value, Label Style, and Label Color Condition Attribute.

    image 17.png

    Node

    You can customize Alignment, Node WidthNode Gap, Node Border Width, and Node Border Color.

    Iteration Coefficient: This parameter is used to continuously optimize the node positions in the chart to reduce mutual occlusion between nodes and edges.


    iconNote:
    When sorting nodes, you can set Iteration Coefficient to 0.

    You can click Enable Shadow to customize the node shadow in the pop-up        box.

    image 18.png

    Line

    Line colors can be set according to node colors or customized.

    You can customize Color Transparency and Line Curvature.

    Line Transparency During Pointer Floating: You can set the line transparency during pointer floating to achieve highlighting effects.

    image 19.png

    Other

    You can adjust the position and size of the entire component.

    /

    Prompt Box

    You can configure Prompt Box Floating Position, Text Style, and Background Color.

    The prompt box can move with the cursor.


    iconNote:
    The precision of the value in the prompt box is up to 5 decimal places, in the format like 280.32213

    image 20.png

    Special Effect

    You can set Interactive Animation, but Condition Display is not available now.

    image 21.png

    Example

    Report Creation

    1. Create a general report.

    2. Create a built-in dataset with the content shown in the following figure. After setting, click OK.

    image 24.png

    Chart Insertion

    1. Resize the cell as required and select the cell.

    2. Click the Insert Chart icon on the upper toolbar, and select Sankey Chart.

    image 25.png

    Chart Attribute Setting

    Data

    1. Select the cell where the chart is located and click Cell Element.

    2. Set Data.

    Set Data Source to Dataset Data and Dataset to Embedded1.

    Set Source to Source, Target to Target, and Value to Value.

    image 26.png

    Style

    1. Set the title.

    Main Title: Sankey Chart

    Subtitle: Sankey Chart

    Remain the default settings of other attributes.

    image 27.png

    2. Remain the default settings of Label, Node, Line, Other, and Prompt Box.

    Special Effect

    Remain default settings.

    Effect Display

    Save the report and click Pagination Preview. The following figure shows the preview effect.

     image 1.png


    iconNote:
    The effect cannot be previewed on mobile terminals.

    Template Download

    For details, you can download Sankey Chart.cpt.

    Attachment List


    Theme: Chart
    • 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