ASP.NET Core Funnel chart is like a pyramid, with two parts, the higher part called head and the lower part, neck. Funnel chart is 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.
Data labels display information about data points. Add a template to display data labels with HTML elements such as images, DIV, and spans for more informative data labels. You can rotate a 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 Core Funnel Chart using a few simple lines of C# code example as demonstrated below. Also explore our ASP.NET Core Funnel Chart Example that shows you how to render and configure the chart.
<ejs-accumulationchart id="container">
<e-accumulation-series-collection>
<e-accumulation-series dataSource="ViewBag.dataSource" xName="xValue" yName="yValue" type="@Syncfusion.EJ2.Charts.AccumulationType.Funnel">
</e-accumulation-series>
</e-accumulation-series-collection>
</ejs-accumulationchart>
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 Core funnel chart.
Explore the ASP.NET Core funnel chart APIs.