Class TwFunnelChart
- Namespace
- TwBlazor.Components
- Assembly
- TwBlazor.dll
A funnel chart: stacked stages whose width shows how much remains at each step of a process, such as a sales pipeline. Set Inverted to draw it as a pyramid.
public class TwFunnelChart : TwValueChartBase, IComponent, IHandleEvent, IHandleAfterRender, ITwComponent, IAsyncDisposable
- Inheritance
-
TwFunnelChart
- Implements
- Inherited Members
Remarks
The stages are an ordered sequence, so they share one hue that fades from the first stage to the last.
Constructors
TwFunnelChart()
public TwFunnelChart()
Properties
Inverted
Gets or sets whether the stages are drawn bottom to top, turning the funnel into a pyramid.
[Parameter]
public bool Inverted { get; set; }
Property Value
ShareLabel
Gets or sets the label for a stage's share of the first stage in tooltips. Defaults to the localized Chart_OfFirstStage text ("Of first stage").
[Parameter]
public string? ShareLabel { get; set; }
Property Value
Methods
BuildMarks(ChartSceneBuilder)
Adds the marks, data points and axes for the values.
protected override void BuildMarks(ChartSceneBuilder builder)
Parameters
builderChartSceneBuilderThe builder that collects the scene.