RadzenSankeyDiagram component.
IComponent
IHandleEvent
IHandleAfterRender
RadzenComponent.RaiseContextMenu
RadzenComponent.RaiseMouseEnter
RadzenComponent.AddContextMenu
RadzenComponent.RaiseMouseLeave
RadzenComponent.OnBecameInvisible
RadzenComponent.DefaultCulture
RadzenComponent.IsJSRuntimeAvailable
ComponentBase.OnInitializedAsync
ComponentBase.OnParametersSet
ComponentBase.OnParametersSetAsync
ComponentBase.StateHasChanged
ComponentBase.ShouldRender
ComponentBase.OnAfterRender
ComponentBase.InvokeAsync
ComponentBase.DispatchExceptionAsync
ComponentBase.RendererInfo
ComponentBase.Assets
ComponentBase.AssignedRenderMode
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
public class RadzenSankeyDiagram<TItem> : RadzenComponent, IComponent, IHandleEvent, IHandleAfterRender| Name | Description |
|---|---|
| TItem | The type of data item. |
RadzenSankeyDiagram component.
public RadzenSankeyDiagram<TItem>()Gets or sets whether to animate the flow in the links.
public bool Animated { get; set; }
| Type | Description |
|---|---|
| bool | Gets or sets whether to animate the flow in the links. |
Gets or sets the color scheme of the chart.
public ColorScheme ColorScheme { get; set; }
| Type | Description |
|---|---|
| ColorScheme | Gets or sets the color scheme of the chart. |
Gets or sets the data. Each item represents a link/flow in the diagram.
public IEnumerable<TItem> Data { get; set; }
| Type | Description |
|---|---|
| IEnumerable<TItem> | Gets or sets the data. Each item represents a link/flow in the diagram. |
Gets or sets the tooltip text for "Flow".
public string FlowText { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the tooltip text for "Flow". |
Gets or sets the tooltip text for "Incoming".
public string IncomingText { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the tooltip text for "Incoming". |
Gets or sets the link fill colors. If not specified, inherits from source node.
public IList<string> LinkFills { get; set; }
| Type | Description |
|---|---|
| IList<string> | Gets or sets the link fill colors. If not specified, inherits from source node. |
Gets or sets the node alignment.
public SankeyAlignment NodeAlignment { get; set; }
| Type | Description |
|---|---|
| SankeyAlignment | Gets or sets the node alignment. |
Gets or sets the node fill colors. If not specified, uses color scheme.
public IList<string> NodeFills { get; set; }
| Type | Description |
|---|---|
| IList<string> | Gets or sets the node fill colors. If not specified, uses color scheme. |
Gets or sets the node padding.
public double NodePadding { get; set; }
| Type | Description |
|---|---|
| double | Gets or sets the node padding. |
Gets or sets the node width.
public double NodeWidth { get; set; }
| Type | Description |
|---|---|
| double | Gets or sets the node width. |
Gets or sets the tooltip text for "Outgoing".
public string OutgoingText { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the tooltip text for "Outgoing". |
Specifies the property of TItem which provides the source node label.
public string SourceLabelProperty { get; set; }
| Type | Description |
|---|---|
| string | Specifies the property of TItem which provides the source node label. |
Specifies the property of TItem which provides the source node ID.
public string SourceProperty { get; set; }
| Type | Description |
|---|---|
| string | Specifies the property of TItem which provides the source node ID. |
Specifies the property of TItem which provides the target node label.
public string TargetLabelProperty { get; set; }
| Type | Description |
|---|---|
| string | Specifies the property of TItem which provides the target node label. |
Specifies the property of TItem which provides the target node ID.
public string TargetProperty { get; set; }
| Type | Description |
|---|---|
| string | Specifies the property of TItem which provides the target node ID. |
Gets or sets the tooltip service.
public TooltipService TooltipService { get; set; }
| Type | Description |
|---|---|
| TooltipService | Gets or sets the tooltip service. |
Gets or sets the CSS style of the tooltip.
public string TooltipStyle { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the CSS style of the tooltip. |
Gets or sets the value formatter for tooltip display.
public Func<double, string> ValueFormatter { get; set; }
| Type | Description |
|---|---|
| Func<double, string> | Gets or sets the value formatter for tooltip display. |
Specifies the property of TItem which provides the flow value.
public string ValueProperty { get; set; }
| Type | Description |
|---|---|
| string | Specifies the property of TItem which provides the flow value. |
Gets or sets the tooltip text for "Value".
public string ValueText { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the tooltip text for "Value". |
protected override void BuildRenderTree(Rendering.RenderTreeBuilder __builder)
| Type | Name | Description |
|---|---|---|
| Rendering.RenderTreeBuilder | __builder |
protected override string GetComponentCssClass()
| Type | Description |
|---|---|
| string |
protected override Task OnAfterRenderAsync(bool firstRender)
| Type | Name | Description |
|---|---|---|
| bool | firstRender |
| Type | Description |
|---|---|
| Task |
Causes the component to re-render. Use it when Data has changed.
public void Reload()Called by JavaScript when the chart container is resized.
public Task Resize(double width, double height)
| Type | Name | Description |
|---|---|---|
| double | width | |
| double | height |
| Type | Description |
|---|---|
| Task |
public override Task SetParametersAsync(ParameterView parameters)
| Type | Name | Description |
|---|---|---|
| ParameterView | parameters |
| Type | Description |
|---|---|
| Task |