--- title: "Configure Bar Chart" slug: "configure-bar-chart" updated: 2026-02-03T14:44:47Z published: 2026-02-03T14:44:47Z canonical: "skthelp.syniti.com/configure-bar-chart" --- > ## Documentation Index > Fetch the complete documentation index at: https://skthelp.syniti.com/llms.txt > Use this file to discover all available pages before exploring further. # Configure Bar Chart ## Overview This article helps you configure Bar (vertical) chart using the components available in the WebApp Builder. This chart is ideal for comparing categorical data, tracking performance metrics across departments, or displaying results and ranking information. ### Prerequisites - Review the [recommendations](/docs/configure-bar-chart#dataset-design-recommendations) provided to design/create a chart dataset. - Ensure that a [Dataset](/v1/docs/datasets) is created for the appropriate chart type and purpose, using the required fields. - When cleansing or enriching data, users may want to visualize their work with charts. In this case, create a Grid or Form container on a construct page and use the same dataset to bind data between the Grid or Form and the Chart containers. **For example**, you are cleansing customer records in a Grid container by correcting missing or invalid values. You can then use the same dataset in a Chart container to visualize customer distribution by region. Since both the Grid and Chart share the same dataset, any changes in the Grid are automatically reflected in the Chart. ## Dataset Design Recommendations - Ideal for grouped data. - Requires two or three columns from the dataset, depending on whether one-level or two-level grouping need to be used. > [!NOTE] > Note > > You can use the same chart dataset in a Grid component if you plan to modify or manipulate the data. The following fields configures the Bar chart for two-level groupings: - Primary or Category field allows you to group the first level of data within a dataset. This grouping is displayed along the x-axis. For example, Country. - Secondary or Label field allows you to group the second level of data within a dataset. This grouping is displayed as the legend. For example, FoodType. - Value field must be a column with a NUMERIC(precision, scale) data type in the dataset. This field’s values are displayed along the y-axis. For example, Weight. - To configure the Bar chart with single (one-level) grouping, assign the Category and Label fields to the same grouped column. For example, Category Field = Label Field = FoodType. - In general, the dataset should be designed in a way that the combination of Category and Label fields must have distinct records. - You need to include an additional field in your dataset if you plan to bind the chart dataset to a grid or form component’s dataset. Refer to [Data Binding in Charts](/v1/docs/data-binding-in-charts) for more information. ### Bar Chart Example Sample DatasetConfigurationRendered Chart One-Level Grouping ![](https://cdn.document360.io/ca09b4e9-1857-4c63-9f0e-1f25f166f447/Images/Documentation/image(877).png?sv=2026-02-06&spr=https&st=2026-11-17T19%3A53%3A26Z&se=2026-11-17T20%3A53%3A26Z&sr=b&sp=r&sig=K0SLpKgQmRMiZQ8dkdvLnN%2BWt9x7t2xMf2CqNFAxvj0%3D) Two-Level Grouping ![](https://cdn.document360.io/ca09b4e9-1857-4c63-9f0e-1f25f166f447/Images/Documentation/image(878).png?sv=2026-02-06&spr=https&st=2026-11-17T19%3A53%3A26Z&se=2026-11-17T20%3A53%3A26Z&sr=b&sp=r&sig=v6iZfjDnPETJL2BQ%2BZA3mxgj8ZA9lF49KCdDFAw2%2FBo%3D) Dataset for One-Level Grouping ![](https://cdn.document360.io/ca09b4e9-1857-4c63-9f0e-1f25f166f447/Images/Documentation/image(893).png?sv=2026-02-06&spr=https&st=2026-11-17T19%3A53%3A26Z&se=2026-11-17T20%3A53%3A26Z&sr=b&sp=r&sig=hIs9Wje9utVhGabFFTMEiAWRttKFpOQfUZ6QpUUTE0g%3D) Dataset for Two-Level Grouping ![](https://cdn.document360.io/ca09b4e9-1857-4c63-9f0e-1f25f166f447/Images/Documentation/image(894).png?sv=2026-02-06&spr=https&st=2026-11-17T19%3A53%3A26Z&se=2026-11-17T20%3A53%3A26Z&sr=b&sp=r&sig=fChpQJDJk2bOypHh9cKKeNyNp6U%2FERhOGtCr8jHUVLI%3D) One-Level Grouping ![](https://cdn.document360.io/ca09b4e9-1857-4c63-9f0e-1f25f166f447/Images/Documentation/image(879).png?sv=2026-02-06&spr=https&st=2026-11-17T19%3A53%3A26Z&se=2026-11-17T20%3A53%3A26Z&sr=b&sp=r&sig=SkK3Bj2sGwkYhoL%2BtOOsy0unN127AUFzvc0AHs6EToM%3D) Two-Level Grouping ![](https://cdn.document360.io/ca09b4e9-1857-4c63-9f0e-1f25f166f447/Images/Documentation/image(880).png?sv=2026-02-06&spr=https&st=2026-11-17T19%3A53%3A26Z&se=2026-11-17T20%3A53%3A26Z&sr=b&sp=r&sig=Aiv9mddNNYJHEO5DezVL1780EVlemwn%2B7%2F0%2FNVsOHWg%3D) ## Configuration Steps > [!NOTE] > Note > > You can interact with Build Assist to quickly configure charts as required by entering a prompt that provides the context of the dataset and the fields to be used. 1. On the Cloud Construct’s home page, edit the required WebApp. The WebApp configuration page is displayed. 2. Click **More Options** (**…**) next to the required page or container node and select **Add Chart > Add Bar Chart**. 3. Click the Bar Chart node. The Details Pane is updated with the Bar Chart fields. 4. Enter the required values for the fields to create a Bar chart in a container using the following tables: | Field Name | Description | Supported Values/Notes | | --- | --- | --- | | Name ***required*** | Name of the Bar Chart Container. | Enter a name within length constraints. maxLength: 50 | | Title | Label that is displayed on the top of this chart container. | Enter a title within length constraints. maxLength: 50 | | Parent Layout Container | Name of the parent container used for page layout. Allows you to link child containers to a parent container. | Select the parent container to house this chart container. | | Ordinal | Allows ordering the containers. | Any integer. default: 0 | | Tab Label | Label displayed as the tab name for a container. Use this property only when a container needs to be included in a tab container. | Enter a name within length constraints. maxLength: 50 | | Override Datastore | SKP Datastore name for this component that overrides the datastore configured at the WebApp level. Refer to [**Datastores**](https://skthelp.syniti.com/v1/docs/datastores) for more information. Click the **Open Details** ![](https://cdn.document360.io/ca09b4e9-1857-4c63-9f0e-1f25f166f447/Images/Documentation/image(897).png?sv=2026-02-06&spr=https&st=2026-11-17T19%3A53%3A26Z&se=2026-11-17T20%3A53%3A26Z&sr=b&sp=r&sig=olXrryaktRPPqTO337fpgcPAktpo9OvjVP4Z6ULF7FE%3D) button next to the Datastore list to open it in the SKP Catalog. | NA | | Dataset ***required*** | SKP dataset for the data used for this container. Select the required Dataset. Scroll down the Dataset list to auto-create a dataset using a table or view based on Cloud Construct’s recommendation. > [!NOTE] > Note > > If a dataset is being created from a SQL view, you must set its **Affected Table**. Click the **Open Details** ![](https://cdn.document360.io/ca09b4e9-1857-4c63-9f0e-1f25f166f447/Images/Documentation/image(896).png?sv=2026-02-06&spr=https&st=2026-11-17T19%3A53%3A26Z&se=2026-11-17T20%3A53%3A26Z&sr=b&sp=r&sig=KuxYR5q2WpyyL%2F4BPPWOs%2Bjm1cNZXlg9MWQzP4g3hg8%3D) button next to the Dataset list to open it in the SKP Catalog. | > [!NOTE] > Note > > - The **Update Dataset** button opens a dialog box that allows you to rescan the dataset and add any newly available fields from the underlying table or view to the dataset used in this container. > - Specify the dataset classification. > - If the scan errors out, access the associated Datastore’s scan logs in the SKP Catalog module to troubleshoot the error. | | Category Field ***required*** | Select a field from the dataset that groups the data associated with a given bar on x-axis. | NA | | Label Field ***required*** | Select a field from the dataset used to render the label associated with a bar segment, which appears on Legends. | NA | | Value Field ***required*** | Select a field from the dataset used to render the numeric value associated with a bar segment on y-axis. | NA | | X-Axis Title | Text to display for the x-axis title. | Enter a text within length constraints. maxLength: 100 | | Y-Axis Title | Text to display for the y-axis title. | Enter a text within length constraints. maxLength: 100 | | Legend | Toggle this field to display a legend on the chart. | Selecting or deselecting a legend item will remove or add the corresponding data on the chart. | | Value Unit | Unit of measure that displays next to chart values. | Enter a name within length constraints. maxLength: 20 | | Parent Binding Container | Select the parent grid/form container type for data binding. Allows you to link between grids/forms and charts. | NA | | Container Bindings > Source Column | > [!NOTE] > Note > > Click **Add** to set up required number of container bindings. Select the source column in the parent binding container. | Use either the Source Column or the Source Value field, but not both. | | Container Bindings > Source Value | A fixed source value for data binding. | Use either the Source Column or the Source Value field, but not both. | | Container Bindings > Target Column ***required*** | Select the target column in the chart container’s dataset. | NA | | Columns > Name ***required*** | > [!NOTE] > Note > > Click **Add** to set up required number of columns to control how the fields on the chart will be sorted. Select the field name from the dataset used in the chart container. | NA | | Columns > Sort Mode | Used with the Sort Priority field to configure the default column sort order: | Supported Values: - None - Ascending - Descending | | Columns > Sort Priority | Used with the Sort Mode field to configure the default column sort order. | Default: 0 | | Link to Page Name | Select the Page to navigate on click. | NA | | Open in New Tab | Enable this toggle to open the chart link in a new browser tab. | NA | | Link to Page Bindings > Name ***required*** | > [!NOTE] > Note > > Click the **Add button** to add the required chart link to page bindings criteria. Specify a unique binding name for the page link | Enter a name for binding. maxLength: 256 | | Link to Page Bindings > Target Column ***required*** | Specify the target column in the linked page | Enter target column name from your dataset. maxLength: 128 | | Link to Page Bindings > Target Page Container Name | Specifies the container name in the linked page | Select the name of the grid or form container from the page you’ve selected. | | Link to Page Bindings > Source Data Record Field Value | Specifies the source column in the current page | Select source column name from your dataset. | | Link to Page Bindings > Fixed Value | Specifies the source value in the current page | Specify the value or the actual record of the source column. maxLength: 255 | | Display Mode | Configures the display mode | *** Card:** Card-like format *** Empty:** No visual elements Default: Card | | Layout | Specifies how the containers flow within the page | *** FlowHorizontal:** Side-by-side display *** FlowVertical:** Top-to-bottom display | | Alignment | Controls the alignment for placing the container | * Start * Stretch * End Default: Stretch | | Size | Value of the units that are used to compute the size of a container | Any positive number. minimum: 0, default: 1 | | Size Units | Units that are used to compute the size of a container | * Pixels * Rem * GrowRatio Default: GrowRatio | | Gap | The gap between containers or fields on a property card | Any positive number. minimum: 0, default: 1 | | Padding | Adjusts the padding inside of the container | Any positive number. minimum: 0, default: 0 | 5. Click the **Save & Preview** ![](https://cdn.document360.io/ca09b4e9-1857-4c63-9f0e-1f25f166f447/Images/Documentation/image(845).png?sv=2026-02-06&spr=https&st=2026-11-17T19%3A53%3A26Z&se=2026-11-17T20%3A53%3A26Z&sr=b&sp=r&sig=h6bF9UNabZfzB7R2a2%2BiMCh8T%2BRCB%2F83cm3zrMe3YYo%3D) button to validate that the Bar chart is configured correctly. ## Related Articles - [Build Assist](/v1/docs/build-assist) - [Chart Types](/v1/docs/visualize-data-using-charts#chart-types) - [Data Binding in Charts](/v1/docs/data-binding-in-charts)