# Audit Log Volume block

> Audit log event volume chart with stacked outcome pills, drag range selection and denial avatars

Audit log event volume over 1h to 30d as stacked success, denied and failed pills, with a readout above the bars instead of a tooltip. Drag, click or keys select a range; avatars mark open denials. ReUI Frame, shadcn ToggleGroup. Security review.

- Type: Pro block
- Category: [Bar Chart](https://reui.io/blocks/chart/bar-chart.md)
- Page: https://reui.io/blocks/chart/bar-chart/chart-35
- MCP: `get_block("chart-35")`
- Built with: Avatar, Button, Frame, Toggle Group
- Installs with a ReUI Pro or Ultimate license; setup: https://reui.io/docs/license-setup

## Best for

Audit events in 5 minute to daily buckets, where a dragged span totals its outcomes and top actor and faces mark unreviewed denials

## Agent notes

- Replace `EVENTS`, built from `ANCHOR_EVENTS` plus 226 generated rows, and `ACTORS`; every window counts back from the fixed `REFERENCE_DATE`
- A committed `selection` only restyles the plot, header and readout; nothing outside `Chart` reads it, so lift it to filter your event list
- `DenialLane` faces mark denied events with no `reviewedBy`, so set that field once a denial is reviewed or it stays flagged

## When not to use

- Job runner time per hour split by outcome, with a timeout burn callout: use [Cron Runner Load](https://reui.io/blocks/chart/bar-chart/chart-32.md) (`get_block("chart-32")`)
- The individual access entries grouped by day, each expanding to its details: use [Access Audit Log](https://reui.io/blocks/solutions/users/solution-users-6.md) (`get_block("solution-users-6")`)

## Install

```bash
npx shadcn@latest add @reui/chart-35
```

## About Bar Chart blocks

### When to use

- Values compared across hours, days or categories as grouped, stacked or hatched columns
- Run durations or event volumes against a timeout or limit line, with outcome toggles
- Segmented meters that split a capacity, a fund or a heart rate zone into colored slices

### When not to use

- A share of a whole where the slices read better around a ring: use the [Pie Chart blocks](https://reui.io/blocks/chart/pie-chart.md)
- A progress reading shown as an arc gauge with a status label: use the [Radial Chart blocks](https://reui.io/blocks/chart/radial-chart.md)
- Rows of jobs or deploys, each with its own run history strip: use the [Status Tracker blocks](https://reui.io/blocks/chart/status-tracker.md)

### Agent notes

- `Chart` renders with no props, so every bar, meter value and limit comes from constants kept in the block folder

Every ReUI item has a twin like this one; the index is https://reui.io/llms.txt. Agents with the ReUI MCP (https://reui.io/docs/mcp) get the same guidance from the getters named above.
