ASP.NET MVC Funnel Chart is like a pyramid, with two parts, the higher part called head and the lower part, neck. Funnel Chart are often used to represent stages in a sales process and show the amount of potential revenue for each stage.
Customize the height and width of the funnel to change the look and feel. Changing the width and height of the neck to zero makes funnel chart look like an inverted pyramid.
Show details about the data points with the help of data label support. You can place the label inside and outside the chart. Connector lines can be used to connect the outside label with chart. You can rotate the data label by its given angle.
Data points can be exploded on rendering and on mouse click.
Group the points in a Funnel Chart based on certain conditions. The grouped slices can be split into individual points by clicking the slice.
Customize the look and feel of the Funnel Chart using built-in APIs.
Easily get started with ASP.NET MVC Funnel Chart using a few simple lines of C# code example as demonstrated below. Also explore our ASP.NET MVC Funnel Chart Example that shows you how to render and configure the chart.
@(Html.EJS().AccumulationChart("container").Series(series =>
{
series.DataSource(ViewBag.dataSource).XName("xValue").YName("yValue")
.Type(Syncfusion.EJ2.Charts.AccumulationType.Funnel).Add();
}).Render()
);
public class HomeController : Controller
{
public ActionResult Index()
{
List<PieChartData> chartData = new List<PieChartData>
{
new PieChartData { xValue = "Chrome", yValue = 37 },
new PieChartData { xValue = "UC Browser", yValue = 17 },
new PieChartData { xValue = "iPhone", yValue = 19 },
new PieChartData { xValue = "Others", yValue = 4 },
new PieChartData { xValue = "Opera", yValue = 11 },
new PieChartData { xValue = "Android", yValue = 12 },
};
ViewBag.dataSource = chartData;
return View();
}
}
public class PieChartData
{
public string xValue;
public double yValue;
}
Learn the available options to customize ASP.NET MVC Funnel Chart.
Explore the ASP.NET MVC Funnel Chart APIs.