feat(dashboard): add live observability overview
This commit is contained in:
parent
2ff9f3c0ed
commit
2d2b905d18
27 changed files with 1417 additions and 144 deletions
13
src/lib/ui/stories/LineChart.stories.svelte
Normal file
13
src/lib/ui/stories/LineChart.stories.svelte
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<script module lang="ts">
|
||||
import { defineMeta } from "@storybook/addon-svelte-csf";
|
||||
import LineChart from "../components/LineChart.svelte";
|
||||
|
||||
const { Story } = defineMeta({
|
||||
title: "Dashboard Primitives/LineChart",
|
||||
component: LineChart,
|
||||
});
|
||||
</script>
|
||||
|
||||
<Story name="Neutral Trend" args={{ values: [12, 18, 15, 28, 24, 32] }} />
|
||||
<Story name="Warning Trend" args={{ values: [22, 34, 48, 62, 74, 70], severity: "warning" }} />
|
||||
<Story name="Danger Trend" args={{ values: [20, 40, 64, 82, 90, 94], severity: "danger" }} />
|
||||
Loading…
Add table
Add a link
Reference in a new issue