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.
Analytics panel keeping the full chart frame and axis ticks, with a zero range message offering wider ranges and their real event counts.
The source for every Application block is included with Basic and Pro. Pick a plan to copy the code.
Already purchased? Log in
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.
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
After
One strong use is the events chart with nothing in the window. Other empty chart shapes:
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.