The 100% Stacked Bar Chart allows you to compare multiple measures by stacking the bars horizontally, one after the other.
A 100% Stacked Bar Chart requires a minimum of 1 value element and 1 column element to be showcased. The measure or expression field that you want to analyze can be placed in the Y Values block. The dimension that you want to use to categorize the measure can be placed in the Columns block. If you want to categorize based on a series, you can also place the respective dimension in the Rows block.
The following steps explain how to configure data in a 100% stacked bar chart:
Drag and drop the 100% stacked bar chart onto the canvas and resize it to your desired size.
Please click the Data Source
button in the configuration panel.
Click the CREATE NEW
button to launch a new connection from the connection type panel.
In the connection type panel, click on any of the listed connection type buttons. (Here, the Microsoft Excel
connection type is selected for demonstration.)
In the NEW DATA SOURCE
configuration panel, please fill in the connection type and its related details. Then, click on the Connect
button.
Drag your preferred table or view from the left pane from the data design view, click the Save
button.
Click the Properties
button in the configuration panel to open the property pane.
Now, switch to the ASSIGN DATA
tab.
The ASSIGN DATA
tab will be opened, displaying the available measures and dimensions from the connected data source.
You can add the necessary data from Measures
and Dimensions
into the designated field.
You can add more than one Measures
to the Y Values
field by dragging and dropping the required measures.
Click on the Settings
option in order to change the required summary type from the available summary types displayed in the Settings.
You can filter the data that is displayed in the chart by using the filter option. For more details, please refer to the filter.
You can format the data to be displayed in the chart by using the format option. For more details, please refer to the measure format.
To remove the added value fields, click the highlighted button.
You can add more than one column from the Dimensions
field to the Y Values
field.
You can add more than one value to the Columns
field.
The 100% stacked bar chart will be rendered in this manner.
You are able to change the settings
.
The field names that have been configured can be edited by using the Rename
option provided in the settings menu.
You can sort
the dimension data using the Sort
option under the Settings
menu list. To apply sorting to the data, refer to the Sort.
You can apply filters by selecting the “filters” option in the settings. For more details, refer to the filter.
To display all records, click on Show All Records
.
Similarly you can add the Measures
and Expression Columns
into column field.
You can drag and drop the Measure
or Dimension
into the Rows
field.
You can apply filter and sort option for the rows field, if required.
This will generate a series of charts.
You can format the 100% stacked bar chart to better illustrate the view you require by using the settings available in the Properties
pane.
To configure data into a 100% stacked bar chart, follow the steps:
Please drag and drop the 100% stacked bar chart onto the canvas and resize it to the size you need.
Configure the data into a 100% stacked bar chart.
Please focus on the 100% stacked bar chart and click on the widget settings.
The property window will be opened.
You can view the list of properties that are available for the widget with the default value.
This allows you to change the title
for this area chart widget.
This area chart widget allows you to provide the subtitle
.
This allows you to provide the description
about this area chart widget.
This option allows you to toggle the visibility of tooltips in a chart.
As it is a percentage type, values will be shown with percentages when you hover on the chart. If you enable this option, the value will be shown in the tooltip.
It animates the measure values when you toggle Enable Animation.
This feature enables you to switch the visibility of value labels.
If you disable the Show Value Labels
properties, the dependent properties, which are color, Value label position, Value label rotation and Value label suffix will be hidden.
This feature enables you to personalize the color of the value label.
This option allows you to customize the position of the value label in a chart. By default, it is set to ‘Auto,’ so the label position for the percent stacked bar chart will be set as middle.
This allows you to define the rotation angle for the value labels to display.
You can decrease or increase the width of the column.
You can decrease or increase the space of the column.
A legend is a text used to describe the plotted data. This allows you to toggle the visibility of the legend in the chart and also change the position of the legend text by selecting through the combo box.
Enabling the option of Custom Legend Text will allow you to define custom text (using the text area) to display for each legend series (selected from the combo box) in a chart.
The chart’s legend interactivity
option allows you to control the behavior of the chart legends. This provides an option to make the chart legends non-clickable, which can be especially useful in scenarios where you do not want users to hide or show series data by clicking on the legend. This might also be useful when displaying critical pieces of data that should always be present for accuracy and context purposes.
Disabling the Interactivity feature in the Legend Settings category prevents you from clicking on the legends.
Enabling the Interactivity feature in the Legend Settings category allows you to click on the legends.
This allows you to change the title and label colors of the chart legend.
A Legend is a text used to describe the data plotted. This option allows you to place the legend at the position of Left, Right, Top, and Bottom.
Legend Alignment enables you to control how the legend is positioned within its allocated space. For detailed guidance, refer to the Legend Alignment section.
This enables you to alter the shape of the legend.
Circle
This option allows you to change the shape of the legend to a Circle.
Series Type
This option allows you to change the shape of the legend in the Series
section.
This allows you to add the legend title for the chart, which will be reflected with the Show Legend
option.
This option enables you to customize the legend text according to the value of the Text Width
property.
None
This option allows you to render the legend items without wrapping or trimming them.
Trim
This option allows you to trim the legend items if their legend exceeds the Text Width
value.
Wrap
This option allows you to wrap the legend items based on the value of Text Width
.
This option allows you to set the maximum width for the Legend Items, and it is applicable only if text-overflow is set as Trim or Wrap.
If you uncheck the Show Legend
property in the property panel, the dependent properties, which are Legend color, Legend position, customization button and Legend title, are also hidden.
NOTE: For a single series, the legend will not be visible.
This section allows you to customize the axis settings in the chart.
This allows you to customize the axis title color.
This allows you to customize the color of the axis label.
This enables the visibility of the Category Axis
.
This allows you to edit the title of the Category Axis
for the chart. It will be reflected as the name of the x-axis on the chart.
If we uncheck the Show Axis Title
property, the Axis title text box property will be hidden.
This allows you to control the display mode of the overlapping labels in the Category Axis
.
Trim
This option trims the end of the overlapping label on the axis.
Hide
This option hides the overlapping label on the axis.
This option allows you to trim the axis
labels based on the value of the Maximum Label Width
property.
This option allows you to set a maximum width
for the axis labels, and it can also be customized when the trim axis label
option is enabled.
This allows you to define the rotation angle for displaying the category axis labels.
By default, the Auto Interval
property is enabled. The Auto Interval property is used to automatically set intervals based on the number of data points for category axis labels. If a user wants to customize the interval, then they need to disable the auto interval and set the required interval.
This allows you to enable the Primary Value Axis
for chart.
If you disable the Show Primary Axis
option, dependencies properties which are Axis title, Axis title text, Axis type and Axis Format properties will be hidden.
By default, the chart axis shows positive values at the top and negative values at the bottom. However, there are times when we need to invert the axis and show the negative values at the top and positive values at the bottom. For example, when we bind the temperature data to the chart and want to display the negative values at the top, we can make use of this property.
When this property is enabled, the chart will display negative values on the top and positive values on the bottom.
This allows you to manually set the minimum, maximum, and interval values of the primary value axis through the Axis Range Settings
dialog.
It will be reflected in the primary value axis of the chart.
This allows you to dynamically set the Minimum, Maximum, and Interval values of the primary value axis through the Axis Range Settings
dialog by using the dashboard parameter values. Only number-type Dashboard parameter values are allowed in the axis range properties. You can create multiple types of dashboard parameters.
For more details about dashboard parameter, refer to the Dashboard parameter documentation.
A single value is stored in this type of parameter:
Click the axis range settings dialog and enter @
in any textbox (minimum, maximum, and interval). Select the parameter value (Only Number type parameter values are allowed).
Now, the parameter value is reflected on the chart axis.
If you want to establish the same ranges in multiple cases, create a parameter value of the range type. This type of parameter includes both the start and end values.
Create a parameter of type range.
Please click on the axis range settings dialog and enter @
in any textbox (minimum, maximum, and interval). The range parameter is divided into start and end parameters. The value entered in the first textbox is stored in the start parameter, while the value entered in the second textbox is stored in the end parameter. Please select a parameter value (only Number type parameter values are allowed).
The value of the parameter is reflected in the axis of the chart.
Create a parameter in the data source type. In this, choose any field. The value should be based on the selected field value.
Click the axis range settings dialog and enter @
in any textbox (minimum, maximum, and interval). Then, select the parameter value.
The value of the parameter is reflected in the chart axis.
This option allows you to format the primary and secondary axis values using the formatting details provided in the Format button. For more information, refer to this measure format.
This enables you to enable the gridlines for the Primary Value Axis
in the 100% stacked bar chart.
This allows you to enable the gridlines for the Category Axis
on the 100% stacked bar chart.
This allows you to apply color to the chart series either using a default palette or a custom color palette. By default, the colors will be applied using the default palette. This series of settings will only be visible if you have configured the row section in the chart.
This option allows you to apply the default color for chart series.
By toggle off the Use Default Palette
option, the Color Mapping Type
will be shown.
Using the Color Mapping type, you can apply the colors to the series either based on data or index.
Data
It enables you to apply colors to chart series based on data. If you wish to assign a particular color to specific data (e.g., violet for 2021, sky blue for 2022, and green for 2020), you can utilize data-based color mapping. The default Color Mapping Type is set to Data
.
Index
It allows you to apply color to chart series based on the Index
, ensuring that the colors remain consistent even if the data is changed. Only 15 different colors are shown, after which the colors will repeat from the ones above.
For example, if you are displaying the countries based on the increasing order of the case count, index-based color mapping will be useful to set the colors based on the rank. For instance, assign the color red to the top-ranked country, and this color will be maintained for the country with the largest case count.
Note: We prefer to use index-based color customization only for a minimum amount of data (up to 15 series).
This section allows you to customize the font size of chart elements.
By default, the Auto Font Size
property is enabled. This property is used to automatically set the font size based on the resolution of the client machine viewing the dashboard. If the user wants to customize or set a fixed font size, they need to disable the auto font size and manually set the desired font size.
This allows you to handle the alignment of the widget title to either the left, center, or right.
This allows you to apply the text color
to the widget title.
When Auto Font Size is enabled, the font size of the title will be adjusted automatically based on the screen resolution.
Font Size
This allows you to apply the specified size of the font to the widget title if the Title Auto Font Size is disabled. Value can be between 10 and 44.
On enabling Auto Font Size, the font size of the subtitle will be adjusted automatically based on the screen resolution.
Font Size
This allows you to apply the specified size of the font to the widget title if the Subtitle Auto Font Size is disabled. Value can be between 10 and 32.
On enabling Auto Padding, the padding of the widget container will be adjusted automatically if the size of the widget varies.
Padding
This allows you to customize the padding of the widget container if the Auto Padding is disabled. Value can be between 0 and 25.
This allows you to toggle the visibility of the border
surrounding the widget.
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.
This allow you to set the background image for the 100% Stacked Bar chart widget.
This allows you to set the background color to the 100% Stacked Bar chart widget.
This property allows you to specify the transparency for the background color.
This allows you to toggle the visibility of the shadow
surrounding the widget.
This allows you to enable or disable the widget title
of the 100% Stacked Bar chart.
This allows you to enable or disable the maximized mode
of the 100% Stacked Bar chart widget. The visibility of the maximize icon in the widget header will be defined based on the setting in the viewer.
This allows you to enable or disable the CSV export
option for the 100% Stacked Bar chart widget. Enabling this allows you to export the summarized data of the widget view to CSV format in the viewer.
This allows you to enable or disable the Excel export
option for the 100% Stacked Bar chart widget. Enabling this allows you to export the summarized data of the widget view to (.xlsx or .xls)
format in the viewer.
This allows you to enable or disable the Image export
option for the 100% Stacked Bar chart widget. Enabling this allows you to export the view of the widget to image format (.jpg), (.png), or (.bmp)
in the viewer.
This allows you to enable or disable the PDF export
option for the 100% Stacked Bar chart widget. Enabling this allows you to export the view of the widget to pdf format in the viewer.
This allows you to enable or disable comment
for the dashboard widget. For more details, refer to the Commenting Widget.
This allows you to visualize the raw data associated with a widget at runtime.
To learn more about viewing the underlying widget data, refer to the view data documentation.
This allows you to pin the widget.
We hide the widget elements based on the size of the widget for better readability.
When the chart has been placed with less than 7 columns chart X-axis labels, X-axis titles will be hidden.
When the chart has been placed with less than 6 rows, chart Y-axis labels, Y-axis titles and gridlines will be hidden.