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

PropTypeDefaultDescription
changeNumber0Change amount
healthModeFunctionhealthModes.NEVER_HOTHealth evaluation function
unitString''Unit label ('bytes', 'duration', or custom)

Related