igFunnelChart
Namespace: Wisej.Web.Ext.Ignite
Assembly: Wisej.Web.Ext.Ignite (4.1.0.0)
The igFunnelChart control is similar to the igPieChart in that it displays values associated with different categories.
- C#
- VB.NET
public class igFunnelChart : igBase
Public Class igFunnelChart
Inherits igBase
Constructors
igFunnelChart()
Constructs a new instance of the igFunnelChart class.
Example:
The following example creates a funnel chart and configures it through the Options object.
var chart = new igFunnelChart();
chart.Options.dataSource = salesPipeline;
chart.Options.valueMemberPath = "Count";
chart.Options.innerLabelMemberPath = "Count";
chart.Options.innerLabelVisibility = "visible";
chart.Size = new Size(400, 400);
this.Controls.Add(chart);
igFunnelChart(options)
Constructs a new instance of the igFunnelChart class using the specified options.
| Name | Type | Description |
|---|---|---|
| options | Object | Initial set of options passed to the igFunnelChart widget: an anonymous object, a JSON string or a dynamic object. |
Example:
The following example creates a funnel chart that shows the stages of a sales pipeline with the name of each stage displayed next to the slice.
var chart = new igFunnelChart(new
{
dataSource = new[]
{
new { Stage = "Leads", Count = 1200 },
new { Stage = "Qualified", Count = 640 },
new { Stage = "Proposals", Count = 210 },
new { Stage = "Won", Count = 75 }
},
valueMemberPath = "Count",
innerLabelMemberPath = "Count",
innerLabelVisibility = "visible",
outerLabelMemberPath = "Stage",
outerLabelVisibility = "visible"
});
chart.Size = new Size(400, 400);
this.Controls.Add(chart);