# PropertyMobileEstimateLineChart

## 2026-07-28 — Configurable period buttons (`periods` prop)

**Prompted by:** frontend Storybook backfill (dashboard Property Portfolio card)

### What changed
- New optional `periods?: PropertyPeriod[]` prop — the set of year buttons shown in the selector. Defaults to `[1, 3, 5, 10]` (unchanged behaviour); pass a subset like `[5, 10]` for surfaces that only offer those.

### Why
- The frontend dashboard "Property Prices Estimate vs Suburb Average" card shows only a **5Y / 10Y** switch, not the full 1Y–10Y range. Previously the selector was all-or-nothing, so the dashboard had to hide it entirely; now it can show the app's two-option switch.

### Affected tokens / files
- `packages/shadcn/src/components/ui/property-mobile-estimate-line-chart.tsx`
