Search results

Stacked Bar Chart

Stacked Bar Chart allows you to compare multiple measures through bars stacked one after the other horizontally.

Stacked Bar Chart

How to configure the flat table data to stacked bar chart?

Stacked Bar Chart need a minimum of 1 value element and 1 column element to showcase. The measure or expression field that you would like to analyze can be dropped into Y Values block. The dimension that you would like to categorize the measure, can be dropped onto Columns block. If you would like to categorize based on a series, then the respective dimension can be dropped onto Rows block in addition.

Follow the steps to configure data to stacked bar chart.

Drag and drop the stacked bar chart into canvas and resize it your required size.

Drag and drop the stacked bar chart

Click Data Source button in configuration panel.

Data Source

Click CREATE NEW button to launch a new connection from connection type panel.

Datasource button

In the connection type panel, click any one (Here Microsoft SQL Connection type is selected for demonstration) of the listed connection type button shown.

Datasource list

In the NEW DATA SOURCE configuration panel, fill the connection type and related details. Click Connect button

Connect

Drag your preferred table or view from the left pane from data design view, click Save button.

Virtual table

Click Properties button in configuration panel, property pane opens. Now, switch to ASSIGN DATA tab.

Designer properties button

Stacked bar assign data

The data tab will be opened with available measures and dimensions from the connected data source

Data tab

You can add the required data from Measures and Dimensions into required field.

Adding Y Values

You can add more than one Measures into Y Values field by drag and drop the required measure.

Add more than one Measures

Now the stacked bar chart will be rendered like this

Stacked bar chart

Click the Settings option to change required summary type from the available summary types shown in Settings.

Settings

You can Sort the data using Sort option shown under Settings menu list. To sort the measure data, refer Sort

Sort

You can filter the data to be displayed in funnel chart by using filter. For more details, refer filter.

Configuring widget filters

You can format the data to be displayed in the chart by using format option. For more details, refer measure format

Formatting measure type column

To remove the added value fields click highlighted button.

Click highlighted button

You can add more than one column from Dimensions field into Y Values field.

Adding Columns

You can add more than one value into Columns field. If you add more than one column, then drill down option enabled automatically.

Add more than one value into Columns

Stacked bar chart will be rendered like this

Stacked bar chart

Add more than one value to Columns field, an alert message will be shown. Click Yes to enable the option.

NOTE: If you click No, single value will be added to the Columns field.

Drill alert

The drilled view of the chart region selected.

Drilled view

You can change the Settings.

Settings

You can Sort the dimension data using Sort option under Settings menu list. To apply Sorting for the data, refer Sort.

Sort

You can apply filters by selecting filter in settings. For more details, refer filter.

Configuring filter for dimension column

To show all records click on Show All Records.

Similarly you can add the Measures and Expression Columns into column field.

Adding Rows

You can drag and drop the Dimension into the Rows field.

Adding Rows

You can apply filter and sort option for the rows field, if required.

This will render stacked bar chart in series.

Stacked bar chart in series

How to format stacked bar chart?

You can format the stacked bar chart for better illustration of the view that you require, through the settings available in Properties tab.

To configure data into stacked bar chart follow the steps

  1. Drag and drop the stacked bar chart into canvas and resize it to your required size.

  2. Configure the data into stacked bar chart.

  3. Focus on the stacked chart and click on widget settings.

The property window will be opened.

Property click

Property window

You can see the list of properties available for the widget with default value.

General Settings

General Settings

Name

This allows you to change the title for this stacked bar chart widget

Basic Settings

Basic Settings

Chart Type

This allows you to switch the widget view from current chart type to another convertible chart type.

Enable Animation

This allows you to enable the rendering of series in animated mode.

Show Legend

A Legend is a text used to describe the data plotted. This allows you to toggle the visibility of legend in chart and also change the legend text position (selecting through combo box).

Show Legend

Enabling this option of Custom Legend Text will allow you to define a custom text (through the text area) to display for each legend series (selecting through the combo box) in chart.

Legend Label Color

This allows you to change the chart legend title and label colors.

Chart Legend Color Option

Chart Legend Color

Custom Legend Settings

You can customize the legend text through the Custom Legend Settings dialog. This dialog will show the legend text list as labels at left and corresponding text area at right to add the formatted text to display instead. When a column is added into Row section, this dialog will show two options Individual and Group at top in addition, to toggle between.

Individual

Selecting Individual option will allow you to define a custom text (through the text area) to display for each legend series in chart with the default format:

{{ : Row }} ({{ : Y Value }})

Where, Row represents the value of dimension column added to Rows section and Value represents the value of the measure column added to Y Values section.

Custom Legend Settings Window

Group

Enabling Group option will allow you to set the display format and define a custom text (through the text area) to display for each legend series based on the specified format.

Custom Legend Settings group

For example, If Display Format is {{ : Row }} ({{ : Value }}), then Legend series will display like 1997(Sum of UnitInStock)

Custom Legend Settings

Show Value Labels

This allows you to toggle the visibility of value labels.

Show Value Labels

Value Label Color

This allows you to customize value label’s color.

Value label Color Option

Value label Color

Value Label Rotation

This allows you to define the rotation angle for the value labels to display.

Value Label Rotation

Value Label Suffix

Allows you to enable the Suffix value text to the value labels.

Suffix Value

Allows you to set\edit suffix value to the value labels.

Suffix Value

Filter

Filter

Act as Master Widget

This allows you to define this stacked bar chart widget as a master widget such that its filter action can be made to listen by other widgets in the dashboard.

Ignore Filter Actions

This allows you to define this stacked bar chart widget to ignore responding to the filter actions applied on other widgets in dashboard.

Hierarchical Filter

Through this option, you can enable/disable hierarchical top N filtering. While applying Top N filter with multiple dimension columns, the data returned can be customized based on whether the filtering need to be done as flat or based on the hierarchy of dimension columns added.

When Hierarchical Filter option is enabled, the Top N will be applied for each individual column separately based on the number set for each column.

Link

Link

To configure the linking to URL or dashboard with the widget through its settings. For more details, refer Linking.

Container Appearance

Container Appearance

Title Alignment

This allows you to handle the alignment of widget title to either left, center or right.

Title Color

This allows you to apply text color to the widget title.

Show Border

This allows you to toggle the visibility of border surrounding the widget.

Corner Radius

This allows you to apply the specified radius to the widget corners, if the Show Border is enabled. Value can be between 0 and 10.

Show Maximize

This allows you to enable/disable the maximized mode of this stacked bar chart widget. The visibility of the maximize icon in widget header will be defined based on this setting.

CSV Export

This allows you to enable/disable the CSV export option for this stacked bar chart widget. Enabling this allows you to export the summarized data of the widget view to CSV format in viewer.

Excel Export

This allows you to enable/disable the Excel export option for this stacked bar chart widget. Enabling this allows you to export the summarized data of the widget view to (.xlsx or .xls) format in viewer.

Image Export

This allows you to enable/disable the image export option for this stacked bar chart widget. Enabling this allows you to export the view of the widget to image format (.jpg), (.png), or (.bmp) in viewer.

Enable Comments

This allows you to enable/disable comment for dashboard widget. For more details refer here

Axis

Axis

This section allows you to customize the axis settings in chart.

Title color

This allows you to customize the axis title color.

Label color

This allows you to customize the axis label color.

Show Category Axis

This allows to enable the visibility of Category Axis.

Show Category Axis

Show Category Axis Title

This allows you to enable the visibility of Category Axis title.

Show Category Axis Title

Category Axis Title

This allows you to edit the Category Axis title for chart. It will reflect in x-axis name of chart.

Category Axis Title

Label overflow mode

This allows you to handle the display mode of the overlapping labels in the Category Axis.

Trim

This option trims the end of overlapping label in the axis.

Label overflow mode Trim

Hide

This option hides the overlapping label in the axis.

Label overflow mode Hide

Category Axis Label Rotation

This allows you to define the rotation angle for the category axis labels to display.

Category Axis Label Rotation

Show Primary Value Axis

This allows you to enable the Primary Value Axis for chart.

Show Primary Value Axis

Show Primary Value Axis Title

This allows you to enable the visibility of Primary Value Axis title of chart.

Show Primary Value Axis Title

Primary Value Axis Title

This allows you to edit the Primary Value Axis title. It will reflect in y-axis name of chart.

Primary Value Axis Title

Axis Range Settings

This allows you to manually set the Minimum, Maximum and Interval values of primary value axis through the Axis Range Settings dialog.

Axis Range Settings

It will reflect in the primary value axis of the chart.

Axis Range Output

Grid Lines

Grid Lines

Primary value Axis

This allows you to enable the Primary Value Axis gridlines for the stacked bar chart.

Primary value Axis

Category Axis

This allows you to enable the Category Axis gridlines for the stacked bar chart.

Category Axis

Series Palette

This allows you to customize the chart series color through Series Palette section.

Use Default Palette

This allows you to toggle the series color between default palette and custom palette. By default, the property is toggled on and default palette will be applied to series.

Series Palette

By toggle off the Use Default Palette, you can customize the series colors. This section shows, list of series labels on the left-hand side and corresponding series color on the right-hand side. By clicking on the colored square, color picker will be opened. You can choose a color. And, you can also change the series color by changing the corresponding Hexadecimal value in the right-hand side.

Series Palette Window

Series color Palette