Nevron Open Vision Documentation
Chart / Charts / Types / Funnel / Funnel Chart
In This Topic
    Funnel Chart
    In This Topic

    A Funnel Chart is similar to a Stacked Percent Bar Chart with only one category. It represents 100% of the summary values for the data items included in the chart. Funnel Charts are often used to represent stages in a sales process and show the amount of potential revenue for each stage. This type of chart can also be useful in identifying potential problem areas in an organization’s sales processes.

     

     Creating a Funnel Chart

    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
    NDockPanel dockPanel = new NDockPanel();
    chartView.Surface.Content = dockPanel;

    // create a docked label
    NLabel label = new NLabel();
    label.Text =
    "Funnel Chart";
    NDockLayout.SetDockArea(label, ENDockArea.Top);
    dockPanel.AddChild(label);

    // create a new legend
    NLegend legend = new NLegend();
    NDockLayout.SetDockArea(legend, ENDockArea.Right);
    dockPanel.AddChild(legend);

    // create a new funnel chart
    NFunnelChart funnelChart = new NFunnelChart();
    NDockLayout.SetDockArea(funnelChart, ENDockArea.Center);
    dockPanel.AddChild(funnelChart);

    See Also