Funnel Chart

The Funnel chart is a tool for showing how data decreases as it moves through different stages. Each stage is shown as a separate section on the chart.

Configuration

Option

Provide the JSON content to generate the chart dynamically. Sample data is given blow.

{
  "data": [
    {
      "value": 100,
      "name": "Show",
      "color": "#fc8452"
    },
    {
      "value": 80,
      "name": "Click",
      "color": "#9a60b4"
    },
    {
      "value": 60,
      "name": "Visit",
      "color": "#fac858"
    },
    {
      "value": 40,
      "name": "Query",
      "color": "#ee6666"
    },
    {
      "value": 20,
      "name": "Buy",
      "color": "#3ba272"
    }
  ]
}

The fields in the data array include-

PropertyValue

value

Indicates the number value that decides the size of the node

name

Specifies the label of the node that is displayed to the user

color

Decides the color that is used to fill the node

Legend Position

Position of the legend refers to the placement of the key that explains the various elements displayed on the chart. It is essential to ensure that viewers can easily understand the information presented.

PropertyValue

Bottom

The legend is placed at the bottom of the chart

Top

The legend is placed at the top of the chart

Label Position

Refers to the placement of the label/name of each node component. The users can decide the position according to the need.

PropertyValue

Center

The label is printed right within the node and the text is aligned at the center

Right

The label text is pushed to the right end of each component to denote the node

Left

The label is placed on the left side of the node

Title Position

This refers to where the main title of the chart is located on the visual representation of data. Consider the placement of the chart title in guiding viewers through the information displayed on the chart.

PropertyValue

Center

The title is aligned to the center part of the title area

Right

The title text is pushed to the right end of the title area

Left

The title text is pushed to the left end of the title area

Left

Specify the number of pixels that splits the left-border of the chart container and the actual funnel chart.

Top

Specify the number of pixels that splits the top-border of the chart container and the funnel chart.

Bottom

Specify the number of pixels that splits the bottom-border of the chart container and the funnel chart.

Min

It is a number that sets the minimum value the chart accepts. Any node that represents a lesser value than this will be set empty.

Max

It is a number that sets the maximum value the chart accepts. Any node that represents a greater value than this will be set empty.

Gap

Specify the number value to increase or decrease the space among the chart components.

Title

Provide a short and descriptive title for the chart that clearly summarizes the data and information being presented. This title should be concise yet informative, helping the audience understand the content of the chart at a glance.

Tooltip

This tooltip pops up when the user moves the mouse over the label area of the widget. This is commonly used to provide some extra or important information to the user on the usage of the widget.

The tooltip will be immediately shown when the user's mouse hovers over the widget, and immediately hides when the user's mouse leaves. This information will be contextual, useful, and informative.

Label

Adjust the settings for the visibility of the labels attached to the chart components. You have the option to turn off this setting in order to hide the labels.

Legend Visibility

This feature allows the user to determine the visibility of the legend on the chart based on their preference.

Interaction

Event Handlers

EventDescription

Click

Style

PropertyDescription

Background

Users can change the colour of the background using this property. It has all the RGB colour ranges to pick from. It is recommended to use a corresponding background colour that shows the font clearly.

Layout

Hide

This sets whether the widget has to be displayed on the screen when the program is loaded. This shows/hides the widget both on desktop and mobile devices.

Last updated