Skip to main content
twblazor
Home
  • Get started
  • Tailwind with Blazor
  • Why twblazor?
  • Theme
  • Class Merge
    • Configuring localization
    • RTL Provider
  • Breadcrumb
  • Card
  • Carousel
  • Collapse
  • Footer
  • MenuNew
  • Navbar
  • On This PageNew
  • Sidebar
  • Stepper
  • Tabs
  • Tree List
  • Button
  • Checkbox
  • Color Picker
    • Date
    • Date Range
    • Datetime
    • Datetime Range
    • Time
    • Time Range
  • File Upload
  • NumericNew
  • Radio Button
  • RatingNew
  • Select
  • Slider
  • Switch
  • Textfield
  • Alert
  • Avatar
  • Chip
  • Icon
  • Progress
  • Skeleton
  • Spinner
  • TooltipNew
  • Data Table
  • Pagination
  • Pick List
  • BarcodeNew
  • QR CodeNew
  • CalendarNew
  • Table
  • Overview
  • Area
  • Bar
  • Box Plot
  • Bullet
  • Bump
  • Candlestick
  • Column
  • Dot Plot
  • Dumbbell
  • Funnel
  • Gantt
  • Gauge
  • Heatmap
  • Histogram
  • Icon
  • Line
  • Lollipop
  • Matrix
  • Nightingale
  • Parallel Coordinates
  • Pie
  • Quadrant
  • Radar
  • Radial Bar
  • Range
  • Scatter
  • Slope
  • Small Multiples
  • Strip Plot
  • Treemap
  • Waffle
  • Waterfall
  • Arc Diagram
  • Barcode
  • Beeswarm
  • Bump Area
  • Categorical Scatter
  • Chord Diagram
  • Circular Treemap
  • Contour
  • Convex Treemap
  • Density Plot
  • Dendrogram
  • Euler Diagram
  • Flowchart
  • Hexagonal Binning
  • Horizon
  • Marimekko
  • Network Diagram
  • Radial Histogram
  • Ridgeline
  • Sankey
  • Stream Graph
  • Sunburst
  • Venn Diagram
  • Violin Plot
  • Word Cloud
  • Dialog Service
  • Toast Service
API DocumentationAI Agents & Skills
Home Get Started

Charts

TwFunnelChart

TwFunnelChart is a Blazor funnel chart showing how much remains at each stage of a process. Invert it to draw a pyramid chart.

Last updated 18 October 2026

Please be aware this component is new, may have bugs and/or be subject to change. Please report any bugs at https://github.com/twblazor/twblazor/issues.

Basic usage

TwFunnelChart stacks the stages of a process, each as wide as its value, so the drop between stages is visible. Tooltips give each stage as a share of the first. The stages are an ordered sequence, so they share one hue that fades from first to last.
Checkout funnel
VisitedAdded to basketStarted checkoutPaid
VisitedAdded to basketStarted checkoutPaid
12,0005,4003,1002,200
VisitedVisitors 12,000Of first stage 100%
Added to basketVisitors 5,400Of first stage 45%
Started checkoutVisitors 3,100Of first stage 25.8%
PaidVisitors 2,200Of first stage 18.3%
RAZOR
<TwChart Title="Checkout funnel">
    <TwFunnelChart Data="@_funnel" LabelHeader="Stage" ValueHeader="Visitors" />
</TwChart>
CSHARP
@code {
    private readonly ChartValue[] _funnel =
    [
        new("Visited", 12000),
        new("Added to basket", 5400),
        new("Started checkout", 3100),
        new("Paid", 2200)
    ];
}

Pyramid

Set Inverted to draw the stages from the bottom up, which turns the funnel into a pyramid.
Support tiers
Self serviceFront lineSpecialistsEngineering
Self serviceFront lineSpecialistsEngineering
90052021060
Self serviceTickets 900Of first stage 100%
Front lineTickets 520Of first stage 57.8%
SpecialistsTickets 210Of first stage 23.3%
EngineeringTickets 60Of first stage 6.7%
RAZOR
<TwChart Title="Support tiers">
    <TwFunnelChart Data="@_tiers" Inverted="true" LabelHeader="Tier" ValueHeader="Tickets" />
</TwChart>
CSHARP
@code {
    private readonly ChartValue[] _tiers =
    [
        new("Self service", 900),
        new("Front line", 520),
        new("Specialists", 210),
        new("Engineering", 60)
    ];
}

Labels

ShareLabel renames the share of the first stage in tooltips.
Checkout funnel
VisitedAdded to basketStarted checkoutPaid
VisitedAdded to basketStarted checkoutPaid
12,0005,4003,1002,200
VisitedValue 12,000Conversion 100%
Added to basketValue 5,400Conversion 45%
Started checkoutValue 3,100Conversion 25.8%
PaidValue 2,200Conversion 18.3%
RAZOR
<TwChart Title="Checkout funnel">
    <TwFunnelChart Data="@_funnel" ShareLabel="Conversion" Height="ChartHeight.Small" />
</TwChart>

Summary

Tooltips and the table view give the value of each stage. Tooltips also give its share of the first stage.

Shared features

The legend, tooltips, keyboard navigation, table view, value formatting, height and empty state work the same on every chart. See TwChart for those options.

Keyboard navigation

The plot is a single Tab stop. Each data point is announced with its series and value as focus reaches it, and the table view presents the same data without the plot.
Key What it does
Tab Moves focus into the plot, onto the data point last visited.
Arrow Right or Arrow Down Moves to the next data point.
Arrow Left or Arrow Up Moves to the previous data point.
Home or End Moves to the first or last data point.
Escape Hides the tooltip of the focused data point.
Enter or Space On a legend item: shows or hides that series. On the table button: switches between the chart and its data table.

On this page

  • Basic usage
  • Pyramid
  • Labels
  • Summary
  • Shared features
  • Keyboard navigation
Discord (opens in a new tab) • GitHub (opens in a new tab) • Documentation (opens in a new tab) • MIT License (opens in a new tab) • llms.txt (opens in a new tab)

twblazor is and always will be free and open source.

An unhandled error has occurred. Reload