# State Timeline

* [State timeline options](#statetimeline-statetimelineoptions)
  * [Merge equal consecutive values](#statetimeline-mergeequalconsecutivevalues)
  * [Show values](#statetimeline-showvalues)
  * [Align values](#statetimeline-alignvalues)
  * [Row height](#statetimeline-rowheight)
  * [Line width](#statetimeline-linewidth)
  * [Fill opacity](#statetimeline-fillopacity)
* [Value mappings](#statetimeline-valuemappings)
* [Time series data with thresholds](#statetimeline-timeseriesdatawiththresholds)
* [Legend options](#statetimeline-legendoptions)
  * [Legend mode](#statetimeline-legendmode)
  * [Legend placement](#statetimeline-legendplacement)
  * [Legend values](#statetimeline-legendvalues)

The state timeline panel visualization shows discrete state changes over time. Each field or series is rendered as its unique horizontal band. State regions can either be rendered with or without values. This panel works well with string or boolean states but can also be used with time series. When used with time series, the thresholds are used to turn the numerical values into discrete state regions.

***

### State timeline options <a href="#statetimeline-statetimelineoptions" id="statetimeline-statetimelineoptions"></a>

Use these options to refine the visualization.

#### Merge equal consecutive values <a href="#statetimeline-mergeequalconsecutivevalues" id="statetimeline-mergeequalconsecutivevalues"></a>

Controls whether Algology merges identical values if they are next to each other.

#### Show values <a href="#statetimeline-showvalues" id="statetimeline-showvalues"></a>

Controls whether values are rendered inside the state regions. Auto will render values if there is sufficient space.

#### Align values <a href="#statetimeline-alignvalues" id="statetimeline-alignvalues"></a>

Controls value alignment inside state regions.

#### Row height <a href="#statetimeline-rowheight" id="statetimeline-rowheight"></a>

Controls how much space between rows there are. 1 = no space = 0.5 = 50% space.

#### Line width <a href="#statetimeline-linewidth" id="statetimeline-linewidth"></a>

Controls line width of state regions.

#### Fill opacity <a href="#statetimeline-fillopacity" id="statetimeline-fillopacity"></a>

Controls the opacity of state regions.

***

### Value mappings <a href="#statetimeline-valuemappings" id="statetimeline-valuemappings"></a>

To assign colors to boolean or string values, you can use Value mappings.

***

### Time series data with thresholds <a href="#statetimeline-timeseriesdatawiththresholds" id="statetimeline-timeseriesdatawiththresholds"></a>

The panel can be used with time series data as well. In this case, the thresholds are used to turn the time series into discrete colored state regions.

***

### Legend options <a href="#statetimeline-legendoptions" id="statetimeline-legendoptions"></a>

When the legend option is enabled it can show either the value mappings or the threshold brackets. To show the value mappings in the legend, it’s important that the `Color scheme` as referenced in Color scheme is set to `Single color` or `Classic palette`. To see the threshold brackets in the legend set the `Color scheme` to `From thresholds`.

#### Legend mode <a href="#statetimeline-legendmode" id="statetimeline-legendmode"></a>

Use these settings to define how the legend appears in your visualization.

* **List -** Displays the legend as a list. This is a default display mode of the legend.
* **Table -** Displays the legend as a table.
* **Hidden -** Hides the legend.

#### Legend placement <a href="#statetimeline-legendplacement" id="statetimeline-legendplacement"></a>

Choose where to display the legend.

* **Bottom -** Below the graph.
* **Right -** To the right of the graph.

#### Legend values <a href="#statetimeline-legendvalues" id="statetimeline-legendvalues"></a>

Choose which of the standard calculations to show in the legend. You can have more than one.

***


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.turium.ai/home/algoreus/turium-connector-documentation/turium-fabriq-overview/how-to-guides/algology-visualisation-user-guide/visualisations/state-timeline.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
