FunnelMark<T> Class
Draws a funnel: a centered bar per stage, from the top down, whose width is proportional to its value, joined to the next stage by a lighter trapezoid. Each bar shows its value, and the y axis shows the stages.
public sealed class FunnelMark<T> : Mark<T>Type parameters
T- The type of the rows.
- Inheritance
Mark<T>FunnelMark<T>
Constructors
| Name | Description |
|---|---|
| FunnelMark(IEnumerable<T>, Func<T, object?>, Func<T, object?>) | Initializes a new instance of the FunnelMark<T> class. |
FunnelMark(IEnumerable<T>, Func<T, object?>, Func<T, object?>)
FunnelMark.csInitializes a new instance of the FunnelMark<T> class.
public FunnelMark(IEnumerable<T> data, Func<T, object?> stage, Func<T, object?> value)Parameters
dataIEnumerable<T>- The rows: the stages, in order.
stageFunc<T, object?>- The channel of the name of the stage.
valueFunc<T, object?>- The channel of the value of the stage.
Properties
| Name | Description |
|---|---|
| Label | Gets or sets the channel of the label of each bar, or null for its value. |
| Stage | Gets the channel of the name of the stage. |
| Value | Gets the channel of the value of the stage. |
Label
FunnelMark.csGets or sets the channel of the label of each bar, or null for its value.
Property value
Stage
FunnelMark.csGets the channel of the name of the stage.
Property value
Value
FunnelMark.csGets the channel of the value of the stage.