HtmlForgeX

API Reference

Class

TablerDistributionCard

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Element
Modifiers sealed

Distribution-focused card that pairs a donut chart with a typed summary rail.

Inheritance

Constructors

Methods

public TablerDistributionCard Accent(TablerColor color) #
Returns: TablerDistributionCard

Sets the ambient accent color.

Parameters

color HtmlForgeX.TablerColor requiredposition: 0
public TablerDistributionCard AddSlice(String label, Double value, String note = null, Nullable<TablerColor> color = null, Nullable<TablerIconType> icon = null) #
Returns: TablerDistributionCard

Adds a distribution slice and corresponding summary item.

Parameters

label System.String requiredposition: 0
value System.Double requiredposition: 1
note System.String = null optionalposition: 2
color System.Nullable{HtmlForgeX.TablerColor} = null optionalposition: 3
icon System.Nullable{HtmlForgeX.TablerIconType} = null optionalposition: 4
GetAuxiliaryChildren() #
OnAddedToDocument() #
RegisterLibraries() #
public TablerDistributionCard Settings(Action<TablerDistributionCardSettings> configure) #
Returns: TablerDistributionCard

Groups advanced display options under a smaller surface.

Parameters

configure System.Action{HtmlForgeX.TablerDistributionCardSettings} requiredposition: 0
public TablerDistributionCard Subtitle(String subtitle) #
Returns: TablerDistributionCard

Sets supporting text displayed below the title.

Parameters

subtitle System.String requiredposition: 0
public TablerDistributionCard Title(String title) #
Returns: TablerDistributionCard

Sets the card title.

Parameters

title System.String requiredposition: 0
public override String ToString() #
Returns: String
public TablerDistributionCard TotalLabel(String label) #
Returns: TablerDistributionCard

Sets the center total label shown inside the donut.

Parameters

label System.String requiredposition: 0