A configurable history chart. Plot one or many Home Assistant entities over time as a line, area, bar, or scatter chart — with a big live-value readout, a legend, themed axes, and a full-screen view with a 6h / 24h / 3d / 7d time-range picker.
The graph widget draws the recent state history of numeric entities. Add as many series as you like — each entity becomes its own line (or bar/area/point) with its own color. Flux fetches real history from Home Assistant over the last hours-to-show window, resamples it to a clean curve sized to the tile, and shows a large current-value readout for the first series so the card feels live, not just historical.
Apple Home entities have no history API, so for those Flux graphs the data it has recorded during the current session. Home Assistant entities pull their full stored history.
Tap a graph widget at runtime to open the full-screen history view — a large themed chart of every series with a time-range picker in the corner:
Picking a range re-fetches the history and redraws with a smooth animation. The chart uses smooth (Catmull-Rom) lines and a date-based X-axis, with a legend listing each entity. On iPhone/iPad tap the ✕ to close; on Apple TV the time buttons are focusable with the remote and Menu closes.
From the inspector (defaults shown in parentheses):
| Option | What it does |
|---|---|
| Type | Line (default), Area, Bar, or Scatter. Bar charts anchor the Y-axis at zero. |
| Time range | How many hours of history to show on the tile (default 24h; range 1–336h, i.e. up to 14 days). |
| Smooth curve | Rounds line/area curves (Catmull-Rom) instead of straight segments (on). |
| Gradient fill | Adds a soft gradient under a line chart (on). Area charts are always filled. |
| Point markers | Draws a dot at each sample on line charts (off). |
| Line width | Stroke thickness for line/area marks (default 2.5; range 1–8). |
| Show axes | Master toggle for the axis labels and ticks (on). Off = a clean sparkline. |
| X axis / Y axis | Show each axis independently (both on). |
| Gridlines | Faint grid behind the chart (on). |
| Y-axis ticks | Roughly how many Y labels to show (default 4; range 2–8). |
| Label size | Axis text size in points (default 10; range 7–16). |
| Custom axis color | Override the axis/grid color (default follows the theme's secondary color). |
| Manual Y-range | Pin the Y-axis to a fixed Min and Max instead of auto-fitting the data (off — Flux pads the data range automatically). |
| Title position | Top (default), Bottom, or Hidden. The title text comes from the widget's title (or the first series' name if blank). |
| Title alignment | Leading (default), Center, or Trailing. |
| Title size | Title text size in points (default 13; range 9–28). |
| Title weight | Regular, Medium, Semibold (default), or Bold. |
| Custom title color | Override the title color (default follows the theme). |
| Value readout | The big live current-value number for the first series (on). |
| Readout position | Leading (default), Trailing, or Hidden. |
| Legend | Color key for the series, shown when more than one entity is plotted (on). |
| Legend position | Top or Bottom (default). |
| Entities | The list of series. Add an entity, set its per-series color, swipe to remove. |