Stacked Bar l Zoho Analytics Help

Stacked Bar


A Stacked Bar chart displays data values as bars, with each bar sub-divided by color segments. The height of a color segment is determined by the category's contribution to the bar's total value.

Stacked bar charts help in comparing parts of data to the whole.

Creating a Stacked Bar Chart

Zoho Analytics supports the following types of stacked bar charts. 

Single Series Chart with Color

You can create a stacked bar chart for a single metric (Y-axis) grouped by multiple dimensions i.e., by Color.

Follow the below steps to create a single series stacked bar chart with the color category.

  1. Open the chart editor. Drop columns as given below.
    • X-Axis shelf - Drop the dimension column (usually a text or date column)
    • Y-Axis shelf - Drop the metric column
    • Color shelf - Drop the column to categorize by color
  2. Click the Click here to Generate Graph button. A single series stacked bar chart with the color category will be created.

The following animation illustrates how to create a stacked bar chart, showing average ticket resolution time by month and channel. 


Multi-Series Chart

You can create a stacked bar chart comparing multiple metrics (Multi Y-axes) grouped by the same X-axis. Each stack component represents one Y-axis metric. 

  1. Follow the below steps to create a multi-series stacked bar chart.
  2. Open the chart editor. Drop columns as given below.
    • X-Axis shelf - Drop the dimension column to categorize the data
    • Y-Axis shelf - Drop multiple metric columns
  3. Click the Click here to Generate Graph button. A multi-series bar chart will be created.
  4. Merge Axes and select the chart type as a Stacked Bar.  

The following animation illustrates how to create a stacked bar chart, showing tickets resolved on time and tickets that are delayed. 


Horizontal Chart

In the Horizontal Chart, data series is represented by horizontal bars. This looks better when a chart having quite a few bars is being viewed on a narrow layout, like on a mobile. 

Follow the below steps to create a Horizontal stacked bar chart.

  1. Open the chart editor. Drag and drop columns as given below.
    • Y-Axis shelf - Drop the dimension column (to categorize the data)
    • X-Axis shelf - Drop the metric column
    • Color shelf - Drop the column to categorize by color
  2. Click the Click here to Generate Graph button. A horizontal stacked bar chart will be created.

The following animation shows how to create a stacked bar chart, showing ticket backlogs by Agent and Priority.


100 % Stacked Bar

100% Stacked Bar plots the contribution of each category in the percentage of the total in a group, assuming the total in a group is 100%. You must select the Base field by which grouping will be done. 

Follow the below steps to create a 100% stacked bar chart.

  1. Open the chart editor. Drag and drop columns as given below.
    • Y-Axis  self - Drop the dimension column (to categorize the data)
    • X-Axis  self - Drop the metric column
    • Color  self - Drop the column to categorize by color
  2. Once you add all columns, set the summary function of the metric column as 100% Group
  3.  The Show Data As Settings: 100% Group dialog will open. Select a base column to group the value. This column is considered as the whole (100%) and the contribution of each category is calculated based on this.  
  4. Click the Click here to Generate Graph button. A horizontal stacked bar chart will be created.

The following animation shows how to create a stacked bar chart, showing Distribution of Tickets by Channel.


Add a Chart label

You can either add the Y-Axis value as label or a column (X-axis or color column) as a label.

Add Y-Axis Value

Follow the below steps to add Y-axis value as chart label

  1. Open the chart.
  2. Click Settings icon. The Settings page will open.
  3. Open the Axis tab. 
  4. In the Data Label section, select Show corresponding Y-axis value as data label on the chart checkbox to add the value of each color as data label.
  5. Select Show Total Stack value checkbox to add the total value of the stacked bar as data label. 
  6. Click Apply . Y-Axis value will be added as data label.

Add a column value

Follow the below steps to add a column value as chart label.

  1. Open the chart.
  2. Click Edit Design .
  3. Drop either the X-Axis or the Color column in Text field. 
  4. Click the Click here to Generate Graph button. The corresponding value will be added as data label.

Possible combinations for creating Stacked Bar Charts

The following combinations of column types are possible when creating bar charts.

 

X-axis
Y-axis
Color
Text
Tooltip
Case 1
Aggregate
Dimension
Aggregate/
Optional
Aggregate/
Optional
Aggregate/
Optional
Case 2
Dimension
Aggregate
Dimension/
Aggregate
Aggregate/
Optional
Aggregate/
Optional
Case 3
Dimension
Multiple Aggregate

-

Aggregate/
Optional
Aggregate/ 
Optional
Case 4
Aggregate/
Optional
Dimension
Dimension
Aggregate/ 
Optional
Aggregate/ 
Optional
  • Dimension: A column with Actual Value function applied over it. For numeric columns, the Actual value will be divided into Actual Measure, Actual Dimension and Actual Range, from which you can choose the appropriate function. 
  • Aggregate: A column with an aggregate function (sum, average, count, etc) applied over it. This also includes the aggregate formula columns. 

      Create. Review. Publish.

      Write, edit, collaborate on, and publish documents to different content management platforms.

      Get Started Now


        Access your files securely from anywhere

          Zoho CRM Training Programs

          Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

          Zoho CRM Training
            Redefine the way you work
            with Zoho Workplace

              Zoho DataPrep Personalized Demo

              If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

              Zoho CRM Training

                Create, share, and deliver

                beautiful slides from anywhere.

                Get Started Now


                  Zoho Sign now offers specialized one-on-one training for both administrators and developers.

                  BOOK A SESSION







                              Quick LinksWorkflow AutomationData Collection
                              Web FormsEnterpriseOnline Data Collection Tool
                              Embeddable FormsBankingBegin Data Collection
                              Interactive FormsWorkplaceData Collection App
                              CRM FormsCustomer ServiceAccessible Forms
                              Digital FormsMarketingForms for Small Business
                              HTML FormsEducationForms for Enterprise
                              Contact FormsE-commerceForms for any business
                              Lead Generation FormsHealthcareForms for Startups
                              Wordpress FormsCustomer onboardingForms for Small Business
                              No Code FormsConstructionRSVP tool for holidays
                              Free FormsTravelFeatures for Order Forms
                              Prefill FormsNon-Profit

                              Intake FormsLegal
                              Mobile App
                              Form DesignerHR
                              Mobile Forms
                              Card FormsFoodOffline Forms
                              Assign FormsPhotographyMobile Forms Features
                              Translate FormsReal EstateKiosk in Mobile Forms
                              Electronic Forms
                              Drag & drop form builder

                              Notification Emails for FormsAlternativesSecurity & Compliance
                              Holiday FormsGoogle Forms alternative GDPR
                              Form to PDFJotform alternativeHIPAA Forms
                              Email FormsFormstack alternativeEncrypted Forms

                              Wufoo alternativeSecure Forms

                              TypeformWCAG

                                All-in-one knowledge management and training platform for your employees and customers.

                                          Create. Review. Publish.

                                          Write, edit, collaborate on, and publish documents to different content management platforms.

                                          Get Started Now




                                                            You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                                                Manage your brands on social media


                                                                  • Desk Community Learning Series


                                                                  • Digest


                                                                  • Functions


                                                                  • Meetups


                                                                  • Kbase


                                                                  • Resources


                                                                  • Glossary


                                                                  • Desk Marketplace


                                                                  • MVP Corner


                                                                  • Word of the Day


                                                                  • Ask the Experts


                                                                    Zoho Sheet Resources

                                                                     

                                                                        Zoho Forms Resources


                                                                          Secure your business
                                                                          communication with Zoho Mail


                                                                          Mail on the move with
                                                                          Zoho Mail mobile application

                                                                            Stay on top of your schedule
                                                                            at all times


                                                                            Carry your calendar with you
                                                                            Anytime, anywhere




                                                                                  Zoho Sign Resources

                                                                                    Sign, Paperless!

                                                                                    Sign and send business documents on the go!

                                                                                    Get Started Now




                                                                                            Zoho TeamInbox Resources





                                                                                                      Zoho DataPrep Demo

                                                                                                      Get a personalized demo or POC

                                                                                                      REGISTER NOW


                                                                                                        Design. Discuss. Deliver.

                                                                                                        Create visually engaging stories with Zoho Show.

                                                                                                        Get Started Now








                                                                                                                            • Related Articles

                                                                                                                            • Creating a New Chart

                                                                                                                              Zoho Analytics provides an easy to use drag and drop interface to create charts fast & easy. You can create various types of charts including Bar, Line, Pie, Bubble, Packed Bubble, Stacked, Scatter, Area, Combination, Funnel, Web etc., by simply ...
                                                                                                                            • Chart Types Primer

                                                                                                                              You can create various types of charts such as Area, Bar, Bubble, Line, Pie, Stacked, Scatter, Funnel, Web and 3D charts by simply dragging and dropping the required columns into the respective shelves in the design area. Before we proceed any ...
                                                                                                                            • Working with Chart

                                                                                                                              Working with Chart Zoho Analytics offers a wide range of interactive options on a chart when accessed by an end-user. The options include interactive chart highlighting, changing chart type, dynamic filtering of data displayed, sorting, viewing ...
                                                                                                                            • Introduction to Charts

                                                                                                                              A chart is a visual representation of data which allows you to effectively analyze and interpret data. Zoho Analytics provides an easy to use drag and drop interface which enables you to create charts easily. It supports a wide range of chart types ...
                                                                                                                            • Bar Chart

                                                                                                                              Bar charts display values as individual bars whose height is determined by the value plotted and grouped by each category. This is best used to compare data classified into discrete groups. They are generally used to categorize data or represent two ...
                                                                                                                              Wherever you are is as good as
                                                                                                                              your workplace

                                                                                                                                Resources

                                                                                                                                Videos

                                                                                                                                Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                                                eBooks

                                                                                                                                Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                                                Webinars

                                                                                                                                Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                                                CRM Tips

                                                                                                                                Make the most of Zoho CRM with these useful tips.



                                                                                                                                  Zoho Show Resources