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
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.Pyramid
Set
Inverted to draw the stages from the bottom up, which turns the funnel into a pyramid.Labels
ShareLabel renames the share of the first stage in tooltips.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.