---
title: How to Create a Stacked Bar Chart in Perspective? | Kymera Systems
description: Our goal is to plot both process temp and outside temp represented as bars, one on top of the other, aka a stacked bar chart. A successful implementation w
image: https://www.kymerasystems.com/hubfs/kymera-site/blog-images/Stacked-Bar-Chart.png
---

ACQUIRE. ANALYZE. VISUALIZE.1-800-470-2302 | info@kymerasystems.com

[![Kymera Systems](https://www.kymerasystems.com/hubfs/kymera-site/kymera-logo-on-light.png)](https://www.kymerasystems.com/)☰

[About](https://www.kymerasystems.com/about)[Services](https://www.kymerasystems.com/services)[Ignition Modules](https://www.kymerasystems.com/ignition-modules)[Work](https://www.kymerasystems.com/work)[Resources](https://www.kymerasystems.com/resources)[Contact](https://www.kymerasystems.com/contact)[Get a Quote](https://www.kymerasystems.com/quote)

Jun 24, 2021, 8:00:00 AM

# How to Create a Stacked Bar Chart in Perspective?

![\<span id=](https://www.kymerasystems.com/hubfs/kymera-site/blog-images/Stacked-Bar-Chart.png)How to Create a Stacked Bar Chart in Perspective?"\>

Our goal is to plot both process temp and outside temp represented as bars, one on top of the other, aka a stacked bar chart. A successful implementation will look like figure 1 which displays process temp & output temp as stacked bars.

![Create Stacked Bar Chart in Perspective](https://www.kymerasystems.com/hubfs/kymera-site/blog-images/Create-Stacked-Bar-Chart-in-Perspective.png)

***Figure 1***

Here are some detailed steps for creating a stacked bar chart in perspective:

### **Step: #1**

![Step 1](https://www.kymerasystems.com/hubfs/kymera-site/blog-images/Step-1.png)

***Figure 2***

First, we need to start with the X & Y chart,

The default timeseries bar chart does look like a stacked bar chart however, it has limitations.

Figure 2 shows one of the biggest limitations of the time series bar chart. The width of the bar chart is calculated automatically based on the amount of data already on the x- axis, so if you have sparse data with a wide time range then this bar chart will end up as thin vertical lines.

### **Step: #2**

Next we need to check how the database is configured.

The database needs to be configured with different categories that have columns.

Figure 3 shows an example of database data. If there are 2 different categories of alarms, then the database should have 2 separate columns matching the total number of alarms.

For example: Process Temperature & Output Temperature.

![Step 2](https://www.kymerasystems.com/hubfs/kymera-site/blog-images/Step-2.png)

***Figure 3***

### **Step: #3**

To keep things simple, let’s start with the dataset that comes with the default XY chart when you drag it in from the perspective components window. Figure 4 shows the default XY chart.

![Step 3](https://www.kymerasystems.com/hubfs/kymera-site/blog-images/Step-3.png)

***Figure 4***

### **Step: #4**

Next let’s change the Y-axis. Go to series 0 and 1, configure them to be plotted on the same Y-axis which is highlighted in figure 5.

![Step 4](https://www.kymerasystems.com/hubfs/kymera-site/blog-images/Step-4.png)

***Figure 5***

### **Step: #5**

Then figure 6 show that with both series 0 and 1 the ‘render’ property needs to be changed from line to the column.

![Step 5](https://www.kymerasystems.com/hubfs/kymera-site/blog-images/Step-5.png)

***Figure 6***

### **Step: #6**

Figure 7.1 should be the result of our efforts.

![Step 6.1](https://www.kymerasystems.com/hubfs/kymera-site/blog-images/Step-6.png)

***Figure 7.1***

Now we must select a column and drill down into the column properties and get to: column/appearance/stacked

Then enable the box for stacked.  This needs to be completed in both columns, see figure 7.2.

![Step 6.2](https://www.kymerasystems.com/hubfs/kymera-site/blog-images/Step-6.1.png)

***Figure 7.2***

### **Step: #7**

When both columns have their stacked properties checked, the chart will display the properly stacked bar chart as shown in figure 8.

![Step 7](https://www.kymerasystems.com/hubfs/kymera-site/blog-images/Step-7.png)

**Recommended Reading:**

**[6 Things You Must Know That Showcase the Importance of Cybersecurity](https://www.kymerasystems.com/blog/6-things-you-must-know-that-showcase-the-importance-of-cybersecurity)**

**[The Use Scenarios for IIoT Edge Are Defined, but Not the Standards](https://www.kymerasystems.com/blog/the-use-scenarios-for-iiot-edge-are-defined-but-not-the-standards)**

[← All posts](https://www.kymerasystems.com/blog)

## Tell us about your project

[Get a quote today](https://www.kymerasystems.com/quote)

[LinkedIn](https://www.linkedin.com/company/kymera-systems-inc/)[X](https://x.com/kymerasystems)[Facebook](https://www.facebook.com/kymerasystems)[Instagram](https://www.instagram.com/kymera_systems/)

Kymera Systems Inc. | Leduc, Alberta | [Privacy Policy](https://www.kymerasystems.com/privacy-policy)

```json
{
  "@context" : "https://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "Kymera Systems",
    "url" : "https://www.kymerasystems.com/blog/author/kymera-systems"
  },
  "dateModified" : "2026-10-29T06:27:38.924Z",
  "datePublished" : "2021-06-24T12:00:00.000Z",
  "headline" : "How to Create a Stacked Bar Chart in Perspective? | Kymera Systems",
  "image" : [ "https://www.kymerasystems.com/hubfs/kymera-site/blog-images/Stacked-Bar-Chart.png" ],
  "mainEntityOfPage" : {
    "@id" : "https://www.kymerasystems.com/blog/how-to-create-stacked-bar-chart-in-perspective",
    "@type" : "WebPage"
  },
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject"
    }
  }
}
```