# Setting: `vds_graphs_max_timeframe`

- **Constant:** `ConfigInterface::VDS_GRAPHS_MAX_TIMEFRAME`
- **Category:** `vds`
- **Type:** `select`
- **Required:** yes
- **Sensitive:** no
- **Validation:** `required|string|in:hour,day,week,month,year`
- **Placeholder / default hint:** `week`

## Description

Longest time range users can pick in the VDS resource graphs.

## Allowed options

- `hour`
- `day`
- `week`
- `month`
- `year`

## Change via CLI

```bash
featherpanel saas getsetting vds_graphs_max_timeframe
featherpanel saas setsetting vds_graphs_max_timeframe "<value>"
```

## Change via API

```http
PATCH /api/admin/settings
Content-Type: application/json

{ "vds_graphs_max_timeframe": "<value>" }
```
