mirror of
https://github.com/supabase/supabase.git
synced 2026-12-06 08:29:01 +00:00
* chore: exploring possible breaking charts * chore: still exploring why chart container content wont load * chore: clean up and pin recharts to catalog * chore: remove comments from comment preview file * chore: remove react override * Remove React 19.2 as a dependency. --------- Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
23 lines
459 B
Plaintext
23 lines
459 B
Plaintext
---
|
|
title: Logs Bar Chart
|
|
description: A stacked bar chart that displays logs errors and successes.
|
|
fragment: true
|
|
---
|
|
|
|
<ComponentPreview name="logs-bar-chart" peekCode wide />
|
|
|
|
## Usage
|
|
|
|
This component is used to display the bar chart in logs pages.
|
|
|
|
It requires that the `data` prop is an array of objects with the following shape:
|
|
|
|
```ts
|
|
type LogsBarChartDatum = {
|
|
timestamp: string
|
|
ok_count: number
|
|
error_count: number
|
|
warning_count: number
|
|
}
|
|
```
|