> For the complete documentation index, see [llms.txt](https://docs.av-scripts.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.av-scripts.com/laptop-pack/business/config/overview-chart.md).

# Overview Chart

> This function displays a chart showing the business activity over the past **7 days**.\
> By default, the tracked transactions include:
>
> * Sells
> * Deliveries
> * Supplies Bought
> * Paid Invoices
>
> However, you can also add your own custom types, such as:
>
> * Tuned Vehicles
> * Treated Patients
> * or any other you can think of...

<figure><img src="/files/MMfFlwd6wN7h0Lg7lppz" alt=""><figcaption></figcaption></figure>

### Custom Transactions

> * To register a new type go to `config/_overview.lua`&#x20;
> * Here you will find a table with the default transactions, for this example we are adding a new one named **Tuned Vehicles**:

<figure><img src="/files/Ufwrn5OjtKKR3WohUlrD" alt=""><figcaption></figcaption></figure>

* **name**:`string` - This is an unique identifier, keep it simple.
* **label**:`string`  - Label to display when hover it.
* **color**:`string` - The color used for this data, use HEX values.

> Now we need to trigger the following export from our own resource:

### addTransaction(business,name,amount)

> **params:**
>
> * **business**:`string` The job name ("police", "ambulance", "mechanic", etc....)
> * **name**:`string` The transaction name (NOT label).
> * **amount**:`number` The amount of transactions to add (1 by default)

> Since we are doing an example for **Tuned Vehicles**, we want to trigger the export from **av\_tuning**, go to `av_tuning/server/framework/_framework.lua > line 72`, add the export inside function **ProcessPayment**, after all the Society logic, *something like this*:

<figure><img src="/files/3oLYbxEeS3wU69A5BZiq" alt=""><figcaption></figcaption></figure>

> Now, your new transaction should look something like this after some uses:

<figure><img src="/files/wFnH8BHXncosjcszrEGA" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Please note that this guide is just an example. You should trigger the export from your own resource—wherever you want to track the business transaction.
{% endhint %}
