# Graph Calculations

## Overview

This article outlines the more complex calculations that go on behind the graphs you see.

In the [Listeners](https://docs.onum.com/the-workspace/listeners), [Pipelines](https://docs.onum.com/the-workspace/pipelines), and [Data sinks](https://docs.onum.com/the-workspace/pipelines/data-sinks) views, you will see detailed metrics on your events and bytes in/out, represented in a graph at the top of these areas.

<figure><picture><source srcset="https://965373739-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkxZeV4nlXcIAjMGZxzLI%2Fuploads%2FeaxhdbQBo392SR1jzjJw%2Fddds.png?alt=media&#x26;token=1b97b3be-6907-4a35-b677-1bc5e53e66d4" media="(prefers-color-scheme: dark)"><img src="https://965373739-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkxZeV4nlXcIAjMGZxzLI%2Fuploads%2FFKkV5sFfmRYG33nsm8ph%2Fgrrrap.png?alt=media&#x26;token=01b2743d-d4ac-41c9-8795-6888348d14a9" alt=""></picture><figcaption></figcaption></figure>

The line graph represents the events in/out, and the bar graph represents bytes in/on. Hover over a point on the chart to show a tooltip containing the events and bytes in for the selected time, as well as a percentage of how much increase/decrease has occurred since the previous lapse of time since the one currently selected.

{% hint style="info" %}
The chart in the Pipelines area is slightly different and includes some additional features. Learn more in the [Pipelines](https://docs.onum.com/the-workspace/pipelines) section.
{% endhint %}

## Events vs Bytes

Use the **Events / Bytes** selector to choose which unit of measure you want to display in the graph. In both views, you will see the following data:

<table data-header-hidden><thead><tr><th width="186"></th><th></th></tr></thead><tbody><tr><td><strong>AVG</strong></td><td>The average events/bytes per second ingested or sent by <strong>all</strong> listeners/Data Sinks in your Tenant.</td></tr><tr><td><strong>MAX</strong></td><td>The maximum number of events/bytes per second ingested or sent by <strong>all</strong> Listeners/Data Sinks in your Tenant.</td></tr><tr><td><strong>MIN</strong></td><td>The minimum number of events/bytes per second ingested or sent by <strong>all</strong> Listeners/Data Sinks in your Tenant.</td></tr></tbody></table>

## Frequency slider and Stacked view

Use the **Frequency** slider bar to choose how frequently you want to plot the events/bytes in the chart. By default, these graphs give an overview calculation of all the Listeners/Sinks in your Tenants. If you wish to see each Listener or Sink individually, use the **Stack** toggle.
