# Application Empty State: Empty Chart State

Analytics panel keeping the full chart frame and axis ticks, with a zero range message offering wider ranges and their real event counts.

- Page: https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/empty-chart-state
- Collection: [Application](https://www.shadcn-ui-blocks.com/blocks/application-pro), Standard tier
- Group: [Empty States](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states)
- Created: 2026-07-04
- Preview image: https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/empty-chart-state.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/application-pro-empty-states-empty-chart-state
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- npm packages: class-variance-authority, lucide-react, radix-ui
- shadcn/ui components: button
- Installs to: `@/components/blocks/application-pro/empty-states/empty-chart-state`

## About this block

Empty Chart State is an analytics panel for a selected range
that holds no data, built so the surface stays learnable while
it waits. The full chart frame is kept: y axis ticks, dashed
gridlines, and date labels all render, so the shape of the
report is clear before a single event lands. A centered
message inside the plot area names the gap, No events in this
range, states the real overall count, then offers two wider
ranges with their actual event totals so the next click is
obvious. A range switcher across the top marks 30d as the
active window.

The ticks, x labels, and ranges are small arrays, so the axis
and the switcher each have one place to change. The footer
explains why older data can never appear: tracking was
installed on Feb 12, and the chart updates within a minute of
a new event arriving.

## When to use

Reach for this block on any dashboard panel whose selected
range returns an empty series, rendered in place of the chart
while the frame stays put. Wire the overall count and the
wider range totals from your query so the suggested jumps are
real.

A natural flow around it on an Application Pro page:

**Before**

- [Stat cards](https://www.shadcn-ui-blocks.com/blocks/application-pro/stat-cards)

**After**

- [Charts](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts)
- [Reports](https://www.shadcn-ui-blocks.com/blocks/application-pro/reports)

## What you can display

One strong use is the events chart with nothing in the window.
Other empty chart shapes:

- **Revenue panel.** No sales in the range, with a jump to the
  last quarter that has figures.
- **Funnel view.** No conversions yet, with the first step
  count shown so the drop is placed.
- **Usage graph.** No activity on a new metric, with the
  tracking start date named in the footer.

> Tip: keep the axes and gridlines rendered when a range is
> empty; a blank rectangle hides the shape the data will take
> once it arrives.

## More in Application Empty States

- [Archived Project State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/archived-project-state)
- [Cleared Inbox State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/cleared-inbox-state)
- [Coming Soon State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/coming-soon-state)
- [Deleted Resource State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/deleted-resource-state)
- [Empty Automations State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/empty-automations-state)
- [Empty Comments State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/empty-comments-state)
- [Empty Table State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/empty-table-state)
- [Empty Uploads Dropzone](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/empty-uploads-dropzone)
- [Error Boundary Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/error-boundary-card)
- [Error Page 404](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/error-page-404)
- [Error Page 500](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/error-page-500)
- [First Run Checklist Empty](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/first-run-checklist-empty)
- [Import In Progress State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/import-in-progress-state)
- [Maintenance Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/maintenance-page)
- [No Access Yet State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/no-access-yet-state)
- [No Data Yet State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/no-data-yet-state)
- [No Integrations State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/no-integrations-state)
- [No Search Results State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/no-search-results-state)
- [Offline State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/offline-state)
- [Onboarding Empty Dashboard](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/onboarding-empty-dashboard)
- [Payment Failed State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/payment-failed-state)
- [Permission Denied State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/permission-denied-state)
- [Rate Limited State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/rate-limited-state)
- [Search No Matches](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/search-no-matches)
- [Session Expired State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/session-expired-state)
- [Storage Full State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/storage-full-state)
- [Trial Expired State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/trial-expired-state)
- [Welcome Back State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/welcome-back-state)
