# Trend tags in the studio

> Add pens to a trend, pick the time range, zoom, and switch between the chart, the grid of recorded values and both side by side (Chart | Values | Split), with bad and uncertain samples shown as such and PNG or CSV export.

Product: eaxScada · Type: How-to guide · Editions: Starter, Pro, Enterprise
Source: https://eaxware.com/docs/eaxscada/how-to/use-trends/
Status: migrated page, not yet verified against the current code.

## Goal

Compare pump P-202's speed with its setpoint and the tank level over the last two hours, zoom into a dip, and give the samples of that dip to process engineering as a CSV.

## 1. Add pens

1. Open **Trends** in the left bar (or **Tools → Trends**).
2. Click **+ Add pen** and pick tags (or alarms). Each pen is a chip in the header: its eye hides or shows it, its cross removes it.
3. Choose the range (last 15 minutes to several days) and, for a live view, the refresh. **Export by day** and **Logging Policies** are at the right of the page header (in **More** on a narrow window).

## 2. Chart, Values or Split

The chart and the table of the same samples share one card with three tabs:

| Tab | Shows | Export |
|---|---|---|
| **Chart** | the pens on a time axis, with zoom by wheel or by the slider below | PNG |
| **Values** | every recorded sample in the grid: time, tag, value, quality; the tab shows the count | CSV |
| **Split** | both side by side (windows 1440 px wide and more) | both |
[Image: Trends in Split view: the chart of three pens over the last 15 minutes beside the grid of the recorded values.]
[Image: Trends in Split view: the chart of three pens over the last 15 minutes beside the grid of the recorded values.]

Split view: zooming the chart filters the grid.
The choice is remembered for this page in your browser.

## 3. Zoom, filter, export

- Zoom the chart: the grid shows only the samples of the zoomed window, and a chip in the header says "zoomed: hh:mm–hh:mm · reset".
- Filter the grid by tag (the Tag column or the quick filter): the pens without rows are hidden in the chart until you clear the filter.
- **CSV** exports the grid's rows as filtered; **PNG** the chart.

Samples arrive in place: filters, sorting and the scroll position stay while the trend is live.

## Quality

A Bad or Uncertain sample is drawn distinctly, never as a good value, and the tooltip gives each value with its quality. Downsampling for long ranges keeps every change of quality: the ends of each good, uncertain and bad run, and every sample of a short Bad or Uncertain run.

## When the live link goes down

While the browser's live link to the server is down, the trend draws nothing it did not receive. The pens stop where the link went down, an amber **Live link down** chip shows in the chart's top row, and a grey band covers the span; it stays after the link is back. No line, held value or Bad band crosses the outage. The trend reads the history again at each refresh (every 5 s by default): once the link is back, the samples the server logged during the outage are drawn as recorded inside the band. Parts of the span with no logged sample stay empty. [When the live link goes down](/docs/eaxscada/explanation/historian/#when-the-live-link-goes-down)

## History unavailable

When the history store does not answer, the trend keeps its live samples and shows **History unavailable** over the chart: only the samples since the time given are drawn, not the history before them. Click **Retry**, or wait: the trend retries every 30 s and fills in the history once a read succeeds. The Values grid shows no rows meanwhile, rather than an older read. [When the history store does not answer](/docs/eaxscada/explanation/historian/#25d-when-the-history-store-does-not-answer)

## Related

- [Keep the historian within its disk budget](/docs/eaxscada/how-to/keep-historian-within-disk-budget/)
- [Historian](/docs/eaxscada/explanation/historian/)
