# Automatic Chart Selection Feature

The Automatic Chart Selection feature in Innofalls Charts simplifies the process of choosing the right chart type by intelligently adapting based on your data and interactions. When the waterfall scheme is set to "Auto," the visual will automatically decide whether to display a running totals waterfall chart or a delta waterfall chart, depending on the number of elements selected in the [drill down history](/interactivity/navigation/drill-down-history.md).

**How It Works**

* **Single Element Selection:** If only one element is selected in the drill down history, the visual defaults to a running totals waterfall chart. This chart type is ideal for showing cumulative totals, such as tracking the sum of revenues or expenses over time.
* **Multiple Elements Selection:** When two or more elements are selected, the visual switches to a delta waterfall chart. This type of chart compares the selected elements against each other, highlighting the differences between them.

<figure><img src="/files/G2YfxaZnximVhW20UH2P" alt=""><figcaption><p>Single Selection (left, Running Totals) vs. Multiple Selections (right, Delta Waterfall)</p></figcaption></figure>

{% hint style="info" %}
You can enforce [*Running Totals*](/chart-types/waterfall-charts/running-intermediate-total-waterfalls.md) or [*Delta Waterfalls*](/chart-types/waterfall-charts/delta-waterfall-charts.md) by selecting that scheme in the menu.
{% endhint %}

**Exceptions**

There are cases where the default behavior might change. For instance, if the selected elements do not share common child elements (e.g., different quarters like Q1 and Q2, which have different months), the visual will revert to a running totals waterfall chart instead of a delta waterfall chart. This ensures that the chart remains meaningful and accurately represents the data.

<figure><img src="/files/7GTChHPPtTJogww8gcx8" alt="" width="375"><figcaption><p>Running Totals Chart, despite two selected elements</p></figcaption></figure>

#### Benefits

* **Ease of Use:** Users do not need to manually select the chart type; the visual makes an intelligent choice based on the data selection.
* **Flexibility:** You can explore data interactively and the visual adapts to provide the most relevant chart type, ensuring clarity and insight.

{% hint style="success" %}
Additionally, explore the [**Automatic Chart Orientation**](/chart-types/chart-orientation-time-structure.md) feature, which ensures your charts are always oriented correctly based on the data, enhancing the visualization experience. Read more about Automatic Chart Orientation.
{% endhint %}


---

# 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.innofalls.com/chart-types/automatic-chart-selection.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.
