You create a funnel chart by creating an instance of the NFunnelChart class. There are two ways to achieve this - using a predefined chart type of doing it manually. The following code snippets show how each of those approaches works:
Creating a Funnel Chart Using a Predefined Chart Type
C# |
Copy Code
|
---|---|
chartView.Surface.CreatePredefinedChart(ENPredefinedChartType.Funnel); // obtain an instance ot the funnel chart NFunnelChart funnelChart = (NFunnelChart)chartView.Surface.Charts[0]; |
Creating a Funnel Chart from Code
C# |
Copy Code
|
---|---|
// create a dock panel // create a docked label // create a new legend // create a new funnel chart |