# Ticket Data stream Last value

Widget that displays the last value obtained for a data stream.

## How it works

{{< staticImage "ux/TicketLastValue/Widget/TicketLastValueWidget.png" "Ticket last value" >}}

The information can be displayed in various ways: graphical, symbolic, and text-based.

We can also review its history and statistics: trend, maximum and minimum, percentile, mean, and median.

### Widget Menu

{{< staticImage "ux/TicketLastValue/Widget/MenuActionList.png" "Menu action list" >}}

The following actions can be performed:

- **Open ticket information:** opens a temporary dashboard with information on the ticket.
- **Edit:** opens the ticket wizard.
{{% ux-widget-menu-actions %}}

## Configuration

{{< staticImage "ux/TicketLastValue/Configuration/ConfTicketLastValue.png" "Configuration" >}}

{{% ux-widget-configuration %}}

{{< staticImage "ux/TicketLastValue/Configuration/ConfGeneral.png" "General" >}}

- **Ticket:** The ticket to display.
- **DatastreamId:** Data stream whose last value (and its statistics) will be displayed.
  {{% ux-details-configuration-top %}}
  {{< staticImage "ux/TicketLastValue/Configuration/ConfChart.png" "View mode" >}}
  {{% ux-details-configuration-bottom %}}
  {{% ux-details-configuration-formatter %}}

### Advanced

{{< staticImage "ux/TicketLastValue/Configuration/ConfAdvanced.png" "General" >}}

- **Historical data graph:** Display a graph showing the value's evolution over time.
- **Statistical data graph:** Display statistical data.

### Visualization

{{< staticImage "ux/TicketLastValue/Configuration/ConfVisualization.png" "Visualization" >}}

We can configure certain elements of the graphs displayed in the widget:

- **Background color**
- **Hide details header panel:** Removes the menu allowing for the modification of the type of visualization as well as the type of value to display.

{{% children sort="weight" depth="10" %}}

---
