RayCraftDocs
v1.0.3 raycraft.dev
On this page

Statistic

Free

Large number with a label, an optional trend and extra content such as a Sparkline. Trend colors follow the meaning of the change: LowerIsBetter flips them for costs and errors.

Example

Statistic control

Parameters

ParameterTypeDescription
ChildContentRenderFragmentContent rendered inside the component.
ClassstringExtra CSS classes added to the root element.
DeltastringText describing the change.
IconIconName?Icon shown before the label.
LabelstringName of the measure.
LowerIsBetterboolTreats a falling value as good news (costs, errors).
StylestringInline style added to the root element.
TrendStatTrendNone, Linear or MovingAverage line for every shown series.
ValuestringThe number or text shown large.

Package

Statistic is part of RayCraft Free. Package: RayCraft.Blazor. It comes from nuget.org. See Getting started.