DataPoint

主要な指標、値、および統計的な傾向を表示するコンポーネント。

基本的な使い方

Total Users
24,531

Total registered users as of this month.

トレンド付き

経時的なパフォーマンスの変化を示すには、`trend` (`up`、`down`、`neutral`) と `trendValue` プロパティを使用します。

Revenue
+20.1%
$45,231.89

From previous month

Active Subscriptions
-4.5%
1,245

From previous month

Support Tickets
0.0%
312

From previous month

APIリファレンス

プロパティ
説明
タイプ
デフォルト

value

表示する主要な指標または値。 string -

label

指標のラベルまたはタイトル。 string -

description

値の下にある追加の記述テキスト。 string -

trend

トレンドの方向。アイコンと色が決定されます。 'up' | 'down' | 'neutral' -

trendValue

トレンドを表す値(例: "+20%")。 string -