Components
BaseMiniBars
A tiny ECharts bar chart without axes, for cards and status uptime.
components/ui/BaseMiniBars.vue
View in the demo
Example
API
Props
Name | Type | Default | Description |
|---|---|---|---|
barsrequired | BaseMiniBar[] | — | Values from 0 to 100, or { value?, color? } to colour each bar. |
color | string | "primary" | The colour of the bars. |
height | string | number | 64 | The chart height. |
highlight | number | "last" | — | last or an index to emphasise one bar. |
label | string | — | The accessible name. |