New to Kendo UI for jQuery? Download free 30-day trial

Funnel Charts

Funnel Charts display a single series of data in progressively decreasing or increasing proportions, organized in segments, where each segment represents the value for the particular item from the series.

The values of the items can also influence the height and the shape of the corresponding segments. Funnel Charts are suitable for representing stages in a sales process and for showing the amount of the potential revenue from each stage. They are also useful when identifying potential problem areas in the sales processes of an organization. Funnel Charts are similar to the Stacked Bar Charts and are well suited for displaying several values.

Concepts

The basic conceptual options of a Kendo UI Funnel Chart are:

  • dynamicHeight&mdah;When equal is set to false, dynamicHeight specifies whether the different elements will have equal height, or specifies whether the height of each element has to be based on its value.
  • dynamicSlope—When disabled, the Chart takes the neckRatio option into account. When enabled, the Chart neglects the neckRatio option and each segment creates its form based on the ratio between the current value and the next value.
  • neckRatio—Specifies the ratio between the top and the bottom bases of the whole Funnel series. For example, if set to ten, the top base will be ten times smaller than the bottom base.

  • dynamicHeight&mdah;It specifies whether the different elements should have equal height, when equal to false, or the height of each element should be based on its value.

  • dynamicSlope—When disabled, the neckRatio option is taken into account. When enabled, the neckRatio is neglected and each segment creates its form based on the ratio between the current value and the next value.
  • neckRatio—It specifies the ratio between the top and the bottom bases of the whole funnel series. For example, if set to ten, the top base will be ten times smaller than the bottom base, as demonstrated below.

Kendo UI for jQuery Funnel Chart neckRatio

Getting Started

The following example demonstrates how to base the widths of the bases for each segment on the currentValue/nextValue ratio.

<div id="chart"></div>
<script>
    var data = [{
        value: 20
        },{
        value: 40
        },{
        value: 80
        },{
        value: 40
        },{
        value: 10
    }];
    $("#chart").kendoChart({
        series:[{
            type: "funnel",
            dynamicSlope: true,
            data : data,
            dynamicHeight : false,
            labels: {
                visible: true
            }
        }]
    });
</script>

Kendo UI for jQuery Funnel Chart dynamic slope

See Also

In this article