---
title: "Chart Blocks (Classic apps)"
description: "Classic apps (built from blocks): Chart Block Overview, Type: Bar Chart, Type: Stacked Bar Chart, Type: Line Chart, Type: Area Chart, Type: Scatter Chart, Type: Pie Chart, Type: Donut Chart, Type: Rose Chart, Summary Cards."
canonical: "https://docs.softr.io/classic/chart-blocks"
updated: "2026-12-04"
---

# Chart Blocks (Classic apps)

> **Note**
>
> This page covers **Classic apps**, built from blocks. See [Classic apps](/classic/overview).

## Chart Block Overview

> **Note**
>
> Chart block is available for users on the [Professional plan and above](https://www.softr.io/pricing).

Using the Chart block, you can add different types of charts to your Softr app. The charts get the data from [data sources](/integrations/data-sources).

In the following articles, you can get familiar with different chart layouts that are available. In this article, we’ll set up a chart (using a **Bar Chart** as an example) from scratch and explain each configuration option.

![A dashboard built with Chart blocks. Numbers point to the Metric cards, the Column chart, and the Donut chart](/building-blocks/chart-block-overview/dashboard-annotated.webp)

_A dashboard built with the Chart block: Metric (1), Column (2), and Donut (3) types._

To start configuring the chart, you first need to link it to a [data source](/integrations/data-sources) to start displaying your data. We are going to use [Airtable](/integrations/airtable) for that purpose. So, let’s start.

> **Tip**
>
> If you make an update in your data source, **it will take 15 min** until that change is reflected in your chart in preview, and live mode.
>
> Learn more about data sampling and data freshness at the end of this article.

### Linking a data source

![Linking an Airtable base and table](/building-blocks/chart-block-overview/Screenshot-2026-08-11-at-3.55.09-PM.webp)![Linking an Airtable base and table](/building-blocks/chart-block-overview/Screenshot-2026-08-11-at-3.55.09-PM-1.webp)

_Linking an Airtable base and table_

This part is similar to the [List](/classic/list-and-grid-blocks) block settings, where you need to connect a data sourcefrom the **Data** tabto get your chart data.

> **Tip**
>
> Please note, that you first need to have your [data source](/integrations/data-sources) linked in **Settings => Data Sources** to be able to connect a specific database.

#### Conditional Filters

Under the **Source** tab, you also have the **Conditional Filters** section. Chart **Conditional Filters** work similar to [List conditional filters](/classic/block-visibility-and-filters).

![The Record filters section of the Chart block Source tab. Numbers point to the hint, the match all or any selector, and the Add condition button](/building-blocks/chart-block-overview/conditional-filters-annotated.webp)

_The Record filters section of the Source tab: add conditions to show only some records._

> **Tip**
>
> If you want to refer to an Airtable Linked Record in your condition, use a relevant **Lookup Field** (supported), not a Linked Record itself (not supported).

### Features

Now, let's see what we have in the **Features** tab of block's settings.

![The Content tab of the Chart block settings. Numbers point to the chart type, the title toggle, the metric, and the grouping](/building-blocks/chart-block-overview/content-tab-annotated.webp)

_The Content tab of the Chart block: type, title, metric, and grouping._

#### **Title and Subtitle**

#### **Type**

Next, you have the **Type** parameter where you select between different chart types. Let’s select the **Bar Chart** type and move on to configuring our data.

#### Metrics

As you can see, each record has a **Type** field, a **Sub-type**, and a corresponding value, which is negative in case of expenses.

Let’s say we want to display the sum of incomes and expenses for each month.

For that, we have to define what is our metric. In our case incomes and expenses are stored in Airtable **Value** field, and the metric should be a sum of those.

The **Aggregate function** has the following options:

- **Sum**. Calculates the Sum of all the values for a given category.
- **Average**. Calculates the average of all the values for a given category.
- **Min**. Picks the smallest value of all the values of the category.
- **Max**. Picks the biggest value of all the values of the category.
- **Count distinct values**. Adds up the number of records that **contain a unique value**.
- **Count all**. Adds up the number of records present in a given grouping category.

#### Groupings

Now, let’s explore each setup option in greater detail.

**Time interval**

For the **day** and **month** time intervals you can choose relevant **display formats**:

|               |                                               |
| ------------- | --------------------------------------------- |
| Time interval | Display formats                               |
| Day           | YYYY-MM-DD MM/DD/YYYY DD/MM/YYYY MMM DD, YYYY |
| Month         | YYYY-MM MM/YYYY YYYY/MM MMM YYYY              |

**Sort by**

Next, we have the **Sort by** dropdown, which will have the following options:

- **Categories // A-Z.** Order by the **Category** field values from A to Z.
- **Categories // Z-A.** Order by the **Category** field values from Z to A.
- **Values // A-Z.** Order by the **Value** field values from A to Z.
- **Values // Z-A.** Order by the **Value** field values from Z to A.

Example: If our **Group by** field is the Date field, and we select “**Categories //A-Z,”** we’ll have the following ordering: 2019-01, 2019-02, 2019-03, etc. (by alphabetical order), as on the screenshot above.

**Max categories**

**Include empty cells**

**Sub-grouping**

Lastly, we can choose to **Treat empty cells as 0** as well as **Show axis label**.

### Options

#### **Orientation**

#### Show zoom

#### Show tooltip

When this option is enabled, the users will see a tooltip when hovering over each individual bar. The tooltip contains all the information about that specific bar.

#### Enable download

When this option is enabled, the users will be able to download the chart to their device in **.svg** format.

### **Data sampling and data freshness**

![Data sampling and data freshness in edit, preview, and live mode](/building-blocks/chart-block-overview/data-freshness.webp)

_How much data a chart shows, and how fresh it is, in each mode._

#### Charts in edit mode

- Data sampling - only a small sample of records is used to generate your charts in edit mode to optimize performance
- Data freshness - data shown in edit mode is real-time.

#### Charts in preview mode

- Data sampling - all the specified records are being shown, limited by the max number of “records per dynamic block” specified in your plan.
- Data freshness - data refreshes every 15 minutes.
  - Charts include the information about when the data on the chart was last refreshed.
  - App builders can instantly refresh data in preview mode. Instant data refresh is only available in preview mode for testing purposes. Not available to your end users in the live app.

#### Charts in live mode

- Data sampling - all the specified records are being shown, limited by the max number of “records per dynamic block” specified in your plan.
- Data freshness - data refreshes every 15 minutes. Charts include the information about when the data on the chart was last refreshed.

#### Hiding data freshness information

Sometimes, you might want to hide data freshness information, typically in cases where a chart serves purely as a visual aid for your narration on a website, rather than being the object of analysis.

Here’s a little custom CSS snippet that will allow you to hide the data freshness information:

```css
<style>
div[category='Chart'] span[class*='message'] {
    display: none!important;
}
</style>
```

## Type: Bar Chart

> **Note**
>
> Bar chart block is available for users on the [Professional plan and above](https://www.softr.io/pricing).

![Bar Chart](/building-blocks/type-bar-chart/image1.webp)

_Bar Chart_

This chart type lets you display your data through simple bars.

> **Info**
>
> Not sure how to set up charts? Learn more here → Chart Block Overview.

## Type: Stacked Bar Chart

> **Note**
>
> Stacked bar chart block is available for users on the [Professional plan and above](https://www.softr.io/pricing).

The Stacked Bar chart layout allows you to compare data in a part-to-whole manner, over time or across categories.

The setup is similar to that of a [Bar Chart](/classic/chart-blocks#type-bar-chart) with a unique feature: it allows the presentation of subcategories within a single bar (stacked), as opposed to showing each subcategory with a separate bar.

### Example

Let’s say you are a sales manager and you want to analyze bookings by month, split by deal owners. You want to both understand what is the total sum of won deals, as well as how each sales person (deal owner) contributed.

Here is the output chart we aim at preparing:

![Notion image](/building-blocks/type-stacked-bar-chart/image1.webp)

**Setting up the chart**

Take a look at the Airtable base example. It has different deals at different sales stages, close dates and deal owners.

![Airtable base with sales information](/building-blocks/type-stacked-bar-chart/image2.webp)

_Airtable base with sales information_

Having a base, let’s add a Stacked Bar Chart block, and configure it.

**Conditional filters** – let’s take into account only the deals with a Deal stage: Won

![Notion image](/building-blocks/type-stacked-bar-chart/image3.webp)

**Aggregate function** – we want to SUM all the deal values

![Notion image](/building-blocks/type-stacked-bar-chart/image4.webp)

**Groupings**

Then we want to group these won deal values by the deal close date, with a month time interval →

![Notion image](/building-blocks/type-stacked-bar-chart/image5.webp)

Finally, we want to further group the data by deal owners →

![Notion image](/building-blocks/type-stacked-bar-chart/image6.webp)

The Stacked Bar Chart block is ready:

![Notion image](/building-blocks/type-stacked-bar-chart/image7.webp)

### Show and hide data point labels

Sometimes labels on stacked bars can look a bit too crowded, so among options shared with other chart types, the Stacked Bar Chart has an additional option to decide whether to show data point labels on stacked bars.

![Notion image](/building-blocks/type-stacked-bar-chart/image8.webp)

> **Info**
>
> Whether the label will be shown or not, a data point **tooltip** still shows up upon hovering over the bars.

![Show data point labels: ON](/building-blocks/type-stacked-bar-chart/image9.webp)

_Show data point labels: ON_

![Show data point labels: OFF](/building-blocks/type-stacked-bar-chart/image10.webp)

_Show data point labels: OFF_

> **Info**
>
> Learn more about setting up charts → Chart Block Overview.

## Type: Line Chart

> **Note**
>
> Line chart block is available for users on the [Professional plan and above](https://www.softr.io/pricing).

![Line Chart](/building-blocks/type-line-chart/line-chart.webp)

_Line Chart_

The **Line Chart** chart type represents the data through lines connected by nodes.

> **Info**
>
> Not sure how to set up charts? Learn more here → Chart Block Overview.

## Type: Area Chart

> **Note**
>
> Area chart block is available for users on the [Professional plan and above](https://www.softr.io/pricing).

![Area Chart](/building-blocks/type-area-chart/image1.webp)

_Area Chart_

The **Area Chart** is basically a [Line chart](/classic/chart-blocks#type-line-chart), where the area below the lines is color-filled.

> **Info**
>
> Not sure how to set up charts? Learn more here → Chart Block Overview.

## Type: Scatter Chart

> **Note**
>
> Scatter chart block is available for users on the [Professional plan and above](https://www.softr.io/pricing).

![Scatter Chart](/building-blocks/type-scatter-chart/image1.webp)

_Scatter Chart_

The **Scatter** type is similar to the [Line Chart](/classic/chart-blocks#type-line-chart) with the only difference that there are no connecting lines between the nodes.

> **Info**
>
> Not sure how to set up charts? Learn more here → Chart Block Overview.

## Type: Pie Chart

> **Note**
>
> Pie chart block is available for users on the [Professional plan and above](https://www.softr.io/pricing).

**Pie Chart** is a circular graphic that is divided into slices to show numerical proportion. The setup of the **Pie Chart** block is similar to that of the **Bar Chart** described here, but there are some differences related to the unique characteristics of this chart type, which we’re going to discuss here.

The following image illustrates a pie chart that uses the same income/expense data from Airtable we used in our chart block overview.

![Pie chart](/building-blocks/type-pie-chart/image1.webp)

_Pie chart_

We’ve used the same **Sum aggregate function**, and we can see that each slice shows the sum of incomes and expenses for a given month, and what’s the proportion of each slice (e.g. 23.81% for January). At the top of the chart, there’s the **Legend** section, which indicates which color corresponds to which record or group of records. So, let’s see how the Legend is configured.

### Chart legend

First of all, you can choose whether you want to display a Legend or not. If the toggle is enabled, you can change the **Legend position** as well as switch the **Legend direction** between **vertical** and **horizontal** options.

![Legend settings](/building-blocks/type-pie-chart/image2.webp)

_Legend settings_

> **Info**
>
> Not sure how to set up charts? Learn more here → Chart Block Overview.

## Type: Donut Chart

> **Note**
>
> Donut chart block is available for users on the [Professional plan and above](https://www.softr.io/pricing).

![Donut Chart](/building-blocks/type-donut-chart/donut-chart.webp)

_Donut Chart_

The Donut Chart is a [Pie Chart](/classic/chart-blocks#type-pie-chart) with its center cut out to look like a donut.

> **Info**
>
> Not sure how to set up charts? Learn more here → Chart Block Overview.

## Type: Rose Chart

> **Note**
>
> Rose chart block is available for users on the [Professional plan and above](https://www.softr.io/pricing).

![Rose Chart](/building-blocks/type-rose-chart/image1.webp)

_Rose Chart_

The **Rose Chart** is a radial graph with multiple axes radiating out from the centre. Instead of points being plotted along an axis, bars are drawn to show the quantity of each variable. **Rose Charts** are commonly used to indicate wind speed or noise levels.

The setup of the block is similar to that of the [Pie Chart](/classic/chart-blocks#type-pie-chart).

> **Info**
>
> Not sure how to set up charts? Learn more here → Chart Block Overview.

## Summary Cards

> **Tip**
>
> The Summary Cards block is a legacy block and is no longer available for use in new apps. It has been deprecated as of September 9, 2025. The block will continue to function inside any existing applications where it is being used.

This block is for displaying data from a [data source](/integrations/data-sources) in a specific format that's suitable for summaries, key stats, and similar. So, let's go through the block settings and see how it works.

### Conditional Filters

You can learn more about conditional filters [here](/classic/list-and-grid-blocks).

### Summary Options

In this section, you can customize the **Title** and **Subtitle** of the block.

### Summary Card

This is where you customize the layout of the summary card and map the fields from your [data source](/integrations/data-sources). So, let's see how this works on a practical example. Let's say you have an [Airtable](/integrations/airtable) table with quarterly revenue data for a number of companies, and you want to summarize the annual revenue of each company on your Softr app. Below you can see our table, where we have added a **Sum** formula field that calculates the annual revenue based on data from each quarter. We also have the **names** of the companies and a **Color** field, which we are going to use to apply different colors to each summary card.

![Revenue data on Airtable](/building-blocks/summary-cards/image1.webp)

_Revenue data on Airtable_

> **Tip**
>
> For the **Color** field, the values need to be specified either as text (e.g. "Red") or as the HEX equivalent of the preferred color (e.g. "#FF00000"). In Airtable, you can use any text field type (e.g. Single Select or Single line text).
>
> If you don't connect a Color field, the cards will be assigned random colors.

Finally, let's connect the data to our Summary block and set it up.

![Setting up the block](/building-blocks/summary-cards/image2.webp)

_Setting up the block_
