Articles in this section
Category / Section

How to Create a Combo Chart Widget?

Published:

Getting Started with the Combo 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.

Bold BI has a great variety of sample data sources to choose from, and for this dashboard, I am selecting our “Image Widget-FIFA world cup 2018 top scores” data source.

Getting Started with the Combo Chart Widget - Explore samples

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

select the data source

Selecting the Combo Chart Widget

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

Combo charts allow you to compare values by combining two charts.

Here, bar charts can be combined with bar, stacked bar, and 100% stacked bar charts. In fact, you can create any combination you like using the following charts: column, line, area, spline, spline area, stacked column, stacked area, 100% stacked column, and 100% stacked area.

Selecting the Combo Chart Widget

Assigning Data to the Combo Chart Widget

First, I need to drag the combo chart widget from the “Composition” section of the widget menu to my dashboard. Then, I am going to resize the widget by dragging its edges so that it will be easy to read.

I know that combo charts allow me to easily compare values by combining two charts in a single widget. By default, primary values render with “Column chart” and secondary values render with “Line chart.”

In this widget, I would like to compare the performance of each player based on their attempts on target and goals scored in the World Cup.

To assign data to my widget, I need to click the “Settings” button in the upper right corner of the widget. Then, I will click the “Assign Data” tab.

I immediately see two columns. In the left column, I can select different fields called “Measures” and “Dimensions.” I can drag these fields to the “Value(s),” “Secondary Value(s),” “Column(s),” and “Tooltip” boxes in the right column.

Assigning Data to the Combo Chart Widget

To compare the performance of each player, I need to drag the “Goals” field to the “Value(s)” box, the “Attempts On Target” field to the “Secondary Value(s)” box, and the “PlayerName” field to the “Column” box.

Value(s) box

Secondary Value(s) box

Column(s) box

Customizing the Combo Chart Widget

Now that I have assigned data to my widget, I am going to click the “Properties” tab to customize it. First, I am going to change the widget’s name from “ComboChart1” to “Attempts vs Attained Goals.”

Customizing the Combo Chart Widget

I would like to visualize the top 5 goal scorers along with their numbers of attempts. To achieve this, I can click “Edit” under the “Filter(s)” option in the Column “Settings” menu.

Filter(s) option in the Column Settings menu.

When I click the “Edit” option, a dialog will open. There, I am going to enable “Rank” and set the Count to ‘5’ for the “Goals” Column.

dialog box

After clicking “OK,” my widget will show the top 5 goal scorers in the World Cup, along with their attempts on target. Here, I can see the values by hovering over the widget.

Top 5 goal scorers in the World Cup

With the help of the “Properties” column, I can see the number of goals scored and the number of attempts by enabling “Show Value Labels” in “Basic Settings.”

Also, I can change the chart type and axis type using the “Change” button in “Basic Settings.”

Basic Settings

Here, I would like to change the chart type for my Primary Value(s) to “Line.”

Primary Value(s) to Line

After clicking “OK,” my widget shows line graphs detailing the top 5 goal scorers with their numbers of attempts in the World Cup.

Detailing the top 5 goal scorers

Also, I can customize the name and position of the Legend under “Basic Settings” in the “Properties” column.

Customize the name and position of the Legend

Under the “Axis” section in the “Properties” column, I can customize axis settings like Show or Hide Axis Title, Edit Axis Range, and Label Rotation.

Axis section

Showcasing Trends and Conditional Formatting

Now, I am going to add a trendline to my widget so I can see the trend of the data, which will be indicated with a single line. Here, I can add, edit, and delete the trendline.

I know I can add more than one trendline to Cartesian charts other than bar, series (line, column, area, and spline), and stacked charts.

Showcasing Trends and Conditional Formatting - click the add button

After clicking the “Add” button, a dialog opens where I can customize the trendline.

Dialog opens where I can customize the trendline

Now my widget shows the trend you see below.

widget shows the trend

Next, I would like to explore conditional formatting in the combo chart. With this feature, I can modify the chart’s colors based on certain conditions.

The conditional formatting option is available in the “Formatting” section of the “Properties” column. Enable “Advanced Setting” to add conditions and formatting in the dialog.

Formatting section

The conditional formatting dialog even allows me to add a condition based on a completely different field than the one already configured. I can also choose various condition types and formatting options as shown in the following image.

various condition types and formatting options

The following example will help to show a combo chart with varying colors based on the condition provided for goals scored by top 5 players.

combo chart with varying colors based on the condition

Now that this formatting has been applied, you can see the updated widget below.

Formatting has been applied
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