Stacked bar with limit chart widgets
- Last UpdatedAug 02, 2024
- 5 minute read
A stacked bar with limit chart shows the relationship between values, either in reference to a specified limit or, if no limit is specified, to each other. It can act as a doomsday chart for contract commitment or expenditure by displaying the components of the entire exposure. For example, Commitment Exposure is the Actual Commitment + Pending Commitment + Potential Commitment.
A running total of the exposure values is displayed next to the chart, to allow users to quickly see the impact that potential changes may have on their "bottom line".
The way in which data is displayed in a Stacked Bar with Limit chart depends on whether a limit is specified:
-
Without a limit: The chart displays the percentage that each value contributes to a total across the selected fields.
-
With a limit: The chart displays the relationship of individual values to the specified limit.

Add a stacked bar chart with limit widget
To add a stacked bar chart with limit widget to a dashboard:
-
Click the
drop-down arrow on the dashboard tab and select Add Widget.
The Add Widget window is displayed.
-
Click the name of the widget you want to add to the dashboard.
The dashboard is refreshed to show the new widget ready for configuration.
Tip You can drag the widget to a different location on the page, e.g. to a different column, and to above or below existing widgets. You can also resize the widget by dragging the edges to change the height or width.
Configuration field descriptions
Note Fields marked with an asterisk are required.
|
Field/section |
Description |
|
Title |
The title of the widget. |
|
Rest URL |
The URL of the data which will be used in the chart widget. See Specifying URLs for more information. |
|
Limit |
The Column Name for the field which contains the value which will be displayed as a limit line on the bar chart. Leave blank to have no limit line. If desired, enter a Display Name for the field (e.g. a short name or friendly name). See Data models and fields for information about the fields which are available for each type of data. |
|
Columns with Numeric Values |
Select the Type of aggregation required for the fields: Sum or Average. Enter the Column Name for the field with the numeric values that you want to display in the Stacked Bar chart. If desired, enter a Display Name for the field (e.g. a short name or friendly name). Click See Data models and fields for information about the fields which are available for each type of data. |
|
Y Axis Title |
The text to be displayed as the title of the Y axis of the chart. |
|
Receive Filter Events |
Select to receive any broadcast filter events from other widgets. This widget will be filtered based on the filter event received. For example, if the current widget shows the financial values of all communications, and a filter event is received from another widget which has been filtered to show only data for a specific communication state, the current widget will be filtered by the same communication state. |
Widget configuration
To configure the stacked bar chart widget:
-
If necessary, click
Edit on the title bar of the widget to open its properties.
Note Fields marked with an asterisk
are required.
-
Enter the Title of the widget.
-
Enter the Rest URL of the data model which will be used in the widget, typically https://YourServer/ProConAnalyticsAPI/datamodel where datamodel is:
If necessary, customize the URL to select, filter, sort and limit the data - see Specifying URLs for more information.
Tip By default, data is returned from deleted contracts/tenders which are in the recycle bin.
Include $filter=IsDeleted eq 'No' in your URL to exclude this data.
-
In the Limit field, optionally enter the Column Name for the field which will be displayed as the limit line on the chart.
If desired, enter a Display Name for the field (e.g. a short name or friendly name).
-
If aggregation of values is required, select the Type (Average or Sum). This aggregation will apply to all the fields specified for the chart.
Leave the Type as blank if you do not want to aggregate values.
-
Specify the values you want to display by entering the following details in the Columns With Numeric Values section:
-
Column Name
-
Display Name (e.g. a short name or friendly name)
Click
Add to specify more fields.
-
-
You can click Save to display a chart of all the data returned by the specified Rest URL, or continue to refine your widget data before saving.
Receive filter events
See Configure widgets to broadcast and receive filters.
Example
Business unit or contract dashboard.
Displays the values for the specified fields as a stacked bar with a limit line - in this case, the Approved Financial Commitment, Pending Contract Change and Potential Contract Change breakdown, with a limit of the contract Not to Exceed value.

|
Field |
Value |
Notes |
|
Title |
Contract Change Exposure |
The title of the widget. |
|
Rest URL |
https://YourServer/ProConAnalyticsApi/Contracts?$filter=ContractState ne 'Closed' |
Returns data from the Contracts data model. Filters by:
|
|
Limit - Column Name |
NotToExceedBase |
The value which will be displayed as a black limit line on the chart. |
|
Limit - Display Name |
NTE |
Optional display name. |
|
Columns with Numeric Values - Type |
Sum |
For a business unit dashboard, sums the values for the contracts in each project/dept. For a contract dashboard, only the values for that specific contract are used. |
|
Columns with Numeric Values - Column Name |
1. ApprovedFinancialCommitmentBase 2. PendingFinancialCommitmentBase 3. PotentialFinancialCommitmentBase |
The selected Aggregated Columns. |
|
Columns with Numeric Values - Display Name |
1. Approved Financial Commitment 2. Pending Contract Change 3. Potential Contract Change |
Optional display names. |
|
Y Axis Title |
- |
Optional display name. |
|
Receive Filter Events |
Optional |
If selected, the data will be filtered according to the selection in a Slicer or Table widget that broadcasts filter events. |