TimeseriesPanel
API reference and demos for TimeseriesPanel.
Import
Section titled “Import”import { TimeseriesPanel } from "@flanksource/clicky-ui/data";The props table documents the component-specific surface. Standard DOM attributes inherited from React, such as className, event handlers, and accessibility attributes, may also be accepted when the component’s prop type extends a native element.
| Prop | Type | Default | Description |
|---|---|---|---|
baseUrl |
string |
— | — |
className |
string |
— | — |
expandable |
boolean |
— | — |
expandVariant |
enum |
— | — |
fetcher |
(…) => Promise<TimeseriesResponse> |
— | — |
height |
number |
— | — |
icon |
string | ComponentClass<any, any> | FunctionComponent<any> |
— | — |
range |
string |
— | — |
referenceLines |
TimeseriesReferenceLine[] |
— | Flat lines drawn across the time-series chart, e.g. a fixed capacity. |
refreshMs |
number |
— | — |
series |
TimeseriesSeries[] |
— | — |
title* |
string |
— | — |
total |
number |
— | — |
unit |
string |
— | — |
url |
string |
— | — |
variant |
enum |
— | — |