Articles in this section
Category / Section

How to Create a Stacked Area Chart Widget

Published:

Getting Started with Stacked Area Chart Widget

If you are a Bold BI Cloud user, log in to your cloud site account. If you are an Embedded BI user, open the Bold BI application installed on your server.

Click the “New Dashboard” button and select the “Blank Dashboard” option. A pop-up box will prompt you to configure a data source.

Get Started to create stacked area chart widget

Bold BI has a great variety of sample data sources to choose from, and for this dashboard, I am selecting our “Distribution-Weather Details” data source.

Select the data source for create stacked area chart widget

Simply select the data source you would like to use and click “Add.”

Select the data source you would like to use area chart widget

Selecting the Stacked Area Chart Widget

Once you have chosen a data source, you can start selecting widgets. For this post, I am going to create a stacked area chart widget.

Selecting the Stacked Area Chart Widget

These widgets allow you to compare multiple measures through filled curves that are stacked vertically.

Assigning the Data to Stacked Area Chart Widget

First, I need to drag the stacked area widget from the “Distribution” section of the widget menu onto my dashboard. Then, I am going to resize it by dragging its edges so that it will be easy to read. This is what my stacked area widget looks like before I have assigned data to it.

Assigning the Data to Stacked Area Chart Widget

Next, I am going to click the “Settings” button in the upper right corner of the widget. I would like my stacked area chart to display the minimum and maximum temperatures for each day of August 2018, so I am going to rename my widget accordingly. To do this, I will click the “Properties” tab and type in my stacked area chart’s new name.

option to rename properties tab to Assists by Team and Player using the settings menu

Now, I am ready to assign data to my widget. After clicking the “Assign Data” tab, I will drag the “Max Temp” and “Min Temp” fields to the “Values” box and the “Date” field to the “Columns” box.

option to drag and set the Assists field to the Values into the Assign Data tab of the settings menu

option to drag and set the TeamName field to the Columns into the Assign Data tab of the settings menu

Customizing the Stacked Area Chart Widget

My widget has now been created, but it looks a bit odd. There are two reasons for this.

The first is that the minimum temperature value is displayed in red while the maximum temperature value is displayed in blue. I would like to reverse this, so I need to navigate back to the “Values” box.

Customizing the Stacked Area Chart Widget

I can see that the “Max Temp” field currently sits atop the “Min Temp” field, and if I would like to reverse their appearance in the widget, I need to reverse their order in the “Values” box.

To do this, I am going to click the red “X” beside the “Min Temp” field to remove it. Then, I will drag the “Min Temp” field back over to the “Values” box, but this time, I will position it above the “Max Temp” field.

option to drag and set the Assists field to the Values into the Assign Data tab of the settings menu

My widget has now changed its appearance so that the maximum temperature value is red and the minimum temperature value is blue.

Max and Min temperature - Customizing the Stacked Area Chart Widget

Now, I need to address the second reason that my widget looks a bit odd. My data source only contains temperature data for one month, August 2018, but my widget is displaying the date in a year format (rather than showing each individual day of August as I intended).

You may have noticed that though the “Dimensions” box contains a field called “Date,” the field’s name changed to “Year(Date)” when you dragged it over to the “Columns” box. This is because the widget shows data for the entire year by default.

This format would be helpful if I were comparing data across multiple years, but since I am only looking at one month of data, I need to revise my date display criteria. It does not make sense for my widget to supposedly display data for all of 2018 if I am only examining one month of temperature data.

To change the date settings for my widget, I need to navigate back to the “Columns” box and click the “Options” button beside the “Year(Date)” field. When I do, I see a list of different date display options: Date Time, Date, Year, Quarter, Month, Day, and More (clicking the “More” button will provide you with additional options).

Columns box - Customizing the Stacked Area Chart Widget

As we noted earlier, the “Year” option is selected by default. In order to see the maximum and minimum temperature data for each individual day of the month, I am going to click the “Day” option.

After I click “Day,” I can see that the name of the date field in the “Columns” box has been changed to “Day(Date),” and my widget’s appearance has been updated accordingly.

option to drag and set the TeamName field to the Columns into the Assign Data tab of the settings menu

I can change the date increments along the bottom of my stacked area chart by dragging the chart’s edges to resize it. For example, if I make the widget smaller, it will display the dates in increments of six.

Stacked area chart by dragging the chart’s edges

However, if I make the widget larger, it will display the dates in increments of four.

Min and Max temperature of the stacked area chart widget

It is also worth noting that you can hover over any dot on the widget to see the minimum and maximum temperature data for that date. For example, I can see that on August 3, the high was 36°C  and the low was 28°C.

Widget to see the minimum and maximum temperature to stacked area chart

Widget to see the minimum and maximum temperature to stacked area chart

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
RN
Written by Renuka N
Updated
Comments (0)
Please  to leave a comment
Access denied
Access denied