BarChartVisual - Amazon QuickSight
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).


A bar chart.

The BarChartVisual structure describes a visual that is a member of the bar chart family. The following charts can be described using this structure:

  • Horizontal bar chart

  • Vertical bar chart

  • Horizontal stacked bar chart

  • Vertical stacked bar chart

  • Horizontal stacked 100% bar chart

  • Vertical stacked 100% bar chart

For more information, see Using bar charts in the Amazon QuickSight User Guide.



In the following list, the required parameters are described first.


The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 512.

Pattern: [\w\-]+

Required: Yes


The list of custom actions that are configured for a visual.

Type: Array of VisualCustomAction objects

Array Members: Maximum number of 10 items.

Required: No


The configuration settings of the visual.

Type: BarChartConfiguration object

Required: No


The column hierarchy that is used during drill-downs and drill-ups.

Type: Array of ColumnHierarchy objects

Array Members: Maximum number of 2 items.

Required: No


The subtitle that is displayed on the visual.

Type: VisualSubtitleLabelOptions object

Required: No


The title that is displayed on the visual.

Type: VisualTitleLabelOptions object

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: