dxFunnel
Namespace: Wisej.Web.Ext.DevExtreme
Assembly: Wisej.Web.Ext.DevExtreme (4.1.0.0)
The Funnel is a widget that visualizes a value at different stages in the form of a funnel.
- C#
- VB.NET
public class dxFunnel : dxBase
Public Class dxFunnel
Inherits dxBase
Constructors
dxFunnel()
Constructs a new instance of the dxFunnel class.
Example:
The following example creates a funnel that shows the number of visitors at each stage of a sales process.
var funnel = new dxFunnel();
funnel.Options.dataSource = new[]
{
new { stage = "Visited the site", count = 9152 },
new { stage = "Requested a demo", count = 2045 },
new { stage = "Purchased", count = 512 }
};
funnel.Options.argumentField = "stage";
funnel.Options.valueField = "count";
funnel.Dock = DockStyle.Fill;
this.Controls.Add(funnel);
dxFunnel(options)
Constructs a new instance of the dxFunnel class.
| Name | Type | Description |
|---|---|---|
| options | Object | Initial set of options. |
Example:
The following example creates a funnel with a title, a palette and a label inside each item.
var funnel = new dxFunnel(new
{
dataSource = stages,
argumentField = "stage",
valueField = "count",
title = "Website conversions",
palette = "Soft Pastel",
label = new { visible = true, position = "inside" }
});
funnel.Dock = DockStyle.Fill;
this.Controls.Add(funnel);