# Waterfall charts

A waterfall chart is a type of chart that is used to display how an initial value is affected by a series of intermediate positive or negative values, leading to a final value. It is often used to show the breakdown of the total change in a value, such as a financial metric like net income or cash flow.&#x20;

Waterfall charts are often used in finance and accounting to show the flow of money in and out of a business, but can also be used in other industries such as manufacturing, sales, and production.

Inforiver offers 3 variations of the waterfall chart: *Solid, Colored,* and *Invert Colored.*

* **Solid waterfall** - All the bars are represented by the same solid color.&#x20;
* **Colored waterfall** - By default, the positive and negative values are represented using green and red bars, but they can be customized.
* **Invert colored waterfall** - This chart type is the exact opposite of the colored waterfall chart. The positive and negative values are represented using red and green bars, but they can be customized.

## 1. Adding the chart

In this example, we will visualize the contribution of the subcategories to the total margin using a waterfall chart.

a) We have added 'SubCategory' in the 'Rows' field and 'Total cost', 'Sales', 'Margin', 'Margin %', and 'Total customers' in the 'Values (AC)' field in the visualization pane.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2Fu1FtlUjSZqNKBQ8ymqxF%2Fwaterfall-chart-pane.png?alt=media&#x26;token=78e8e81e-301d-4569-a08c-2c4ae0bf1f8d" alt=""><figcaption><p>Data mapping</p></figcaption></figure>

b) Select the column for which you want to insert the waterfall chart. In the following image, the margin column has been selected.

The waterfall chart option gets enabled. From the 'Waterfall chart' drop-down, select the 'Colored waterfall chart'.&#x20;

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FpWF9U5bHeWDShC7pfv3c%2Fwaterfall-column-chart-selection.png?alt=media&#x26;token=a824de22-d8b1-41c8-8f00-c7dbf7ce1270" alt=""><figcaption><p>Column and chart type selection</p></figcaption></figure>

c) The waterfall chart gets inserted as shown below. You can see the 'Customize' tab in the toolbar and the following [customization options](#2.-customization-options).

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FFwjUpMJlEyM9GLFI588E%2Fwaterfall-insertion.png?alt=media&#x26;token=6f9baee3-55f4-49b5-ad65-9ab5bd40b9c8" alt=""><figcaption><p>Inserting a waterfall chart</p></figcaption></figure>

## 2. Customization options

Inserting a waterfall chart will open up the following customization options.

### **i) Waterfall chart type**&#x20;

You can change your current waterfall chart type from this drop-down.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FSi1qtHGmZLAScfc9yoKn%2Fwaterfall-chart-type-option.png?alt=media&#x26;token=be6b8fd3-3e4e-4fc6-b3f6-261799c418b5" alt=""><figcaption><p>Waterfall chart type customization</p></figcaption></figure>

### **ii) Continuous**&#x20;

Enabling this option will display a continuous waterfall chart across row hierarchies.

{% hint style="info" %}
The 'Continuous' option is available only if the selected column has a row hierarchy.
{% endhint %}

To create a row hierarchy, we have added the 'Category' in the 'Rows' field in the Visualization pane.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FRYhObutVAURmKJl22U0q%2Fwaterfallchart-visualization-pane.png?alt=media&#x26;token=27572734-032c-4565-b46c-ec962cc67bce" alt=""><figcaption><p>Data mapping</p></figcaption></figure>

Select the 'Sales' column, and from the 'Waterfall chart' drop-down, select the 'Colored waterfall chart'.  The waterfall chart gets inserted as shown below.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FddGBoDbOraEjNbFu73f0%2Fwaterfall-chart-insertion.png?alt=media&#x26;token=8ae49856-66be-412e-ac69-bde29a2349fe" alt=""><figcaption><p>Waterfall chart insertion with row hierarchy</p></figcaption></figure>

The continuous option now becomes available under the 'Customize' tab. Enabling this option will display a continuous waterfall chart as shown in the image below.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2F6gs3tDFTHBpJegb8WH2q%2Fcontinuous-waterfall-chart.png?alt=media&#x26;token=b8bfc21e-f792-4059-a71a-5c662165d3a5" alt=""><figcaption><p>Inseerting a continuous waterfall chart</p></figcaption></figure>

### **iii) Axis config**&#x20;

This option lets you configure the axis-related settings. Clicking on this option opens up an 'Axis' modal from which you can choose to&#x20;

* **Show Y-axis** - Enabling this option will display the Y-axis on the chart
* **Show X-axis** - Enabling this option will display the X-axis on the chart
* **Hide ticks** - Enabling this option will hide the tick intervals on the axis

{% hint style="info" %}
Note that some of these options may not be enabled for you depending on the type of waterfall chart inserted and the properties chosen.
{% endhint %}

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FeIKhEvTwyg7mLX1cP76n%2Fwaterfall-axis-config.png?alt=media&#x26;token=2f2f2eb0-5b46-4503-90bc-61d236a0f292" alt=""><figcaption><p>Watefall axis config configuration</p></figcaption></figure>

### **iv) Data label config**&#x20;

This option lets you configure the arrangement and display properties for data labels. The modal has the following properties:

* **Data label** - You can enable or disable this checkbox to show or hide data labels for the chosen column/metrics.&#x20;

{% hint style="info" %}
The 'Show label' and 'Percentage scaling' options are available only if the 'Data label' option is enabled.
{% endhint %}

* **Show label** - Inforiver provides the option to display the data labels simply as *labels*, *percentages*, or *both*. In the below example, we have chosen the 'Both' option.
* **Percentage scaling** - Using this option you can configure the scaling of the percentage data label. The available scaling options are
  1. **Universal -** This is the default option and it indicates the percentage contribution of the value to the grand total.
  2. **By level -** Whereas 'By level' indicates the percentage contribution of the value to its parent level or category.

{% hint style="info" %}
The 'Percentage scaling' option becomes available, only if the 'Show label' value is set to either 'Percentage' or 'Both'.
{% endhint %}

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2Fcg0gVpk3w6twqNIZTPZb%2Fwaterfall-datalabel-config.png?alt=media&#x26;token=d7bda623-e47d-48ef-971e-9a9bd3695989" alt=""><figcaption><p>Waterfall chart data label configuration</p></figcaption></figure>

### **v) Fill pattern**&#x20;

You can customize the fill pattern of the bar to any of these IBCS notations: *Solid, Outlined,* or *Hatched*.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2Fw2nIbtcBISD09fuVP5Px%2Fwaterfall-fill-pattern.png?alt=media&#x26;token=8be9d54a-d057-45fd-8e34-0c8e65d5be7b" alt=""><figcaption><p>Waterfall chart fill pattern</p></figcaption></figure>

### vi) Appearance

This option lets you change the appearance of the waterfall charts. Clicking on this option will display a 'Colors' or 'Series Display' sub-option (depending on the type/variant of the chart inserted). Clicking on either of these sub-options will open up an 'Appearance' model in which you can configure the following properties:

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FVtC59YrQ1gEPjkoBsq71%2Fwaterfall-appearance.png?alt=media&#x26;token=8e828409-5bc6-43b3-b9e2-7a2b676d37f0" alt=""><figcaption><p>Appearance modal</p></figcaption></figure>

{% hint style="info" %}
Some of these properties/options may or may not be available depending on the inserted chart type and variant.
{% endhint %}

**a) Positive color** - Using this option you can customize the positive color of the bar/marker

**b) Negative color** - Using this option you can customize the negative color of the bar/marker

**c) Axis color** - This option lets you set the axis color of the chart

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FcHfJS99ii3KyMnzZLG4A%2Fwaterfall-variance-option.png?alt=media&#x26;token=fdc979ab-4a35-4e9b-bf09-7b121027d980" alt=""><figcaption><p>Variance and axis color options</p></figcaption></figure>

**d) Data label color** - This option lets you set the color of the data labels in the chart

{% hint style="info" %}
The following properties are present in the 'Series Display' option available under the 'Appearance' option of **waterfall charts**.
{% endhint %}

**e) Bar color** - This option is available only for solid bar charts and will let you customize the color of the bar.

**f) Gradient** - Enabling this option will allow you to set a gradient color to your bar chart. If you enable this option, the Min and Max color options become available using which you can set the color for the min value and the max value.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2Fk2lSNtkew4IXeAVD1Uit%2Fwaterfall-gradient.png?alt=media&#x26;token=d9eaabd8-75b3-4249-a150-73c376f4a340" alt=""><figcaption><p>Appearance series display options</p></figcaption></figure>

In this section, we covered waterfall charts. Navigate to the next section to learn more about the [bar and pin charts](https://docs.inforiver.com/working-with-inforiver/6.-working-with-charts/bar-and-pin-charts).

#### Resources

[Waterfall charts: A finance professional's best friend](https://inforiver.com/insights/waterfall-charts-finance-professionals-best-friend/)


---

# 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.inforiver.com/working-with-inforiver/6.-working-with-charts/waterfall-charts.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.
