DataMetricTrend
components/data/metric/Trend.vue
Change indicator with directional triangle, health coloring, and unit formatting.
+128
-42
-42
components/data/metric/Trend.vue
Usage
<DataMetricTrend
:change = "0"
:healthMode = "healthModes.NEVER_HOT"
unit = "—"
/>
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| change | Number | 0 | Change amount |
| healthMode | Function | healthModes.NEVER_HOT | Health evaluation function |
| unit | String | '' | Unit label ('bytes', 'duration', or custom) |