Bar Chart
lowcodera Bar Chart Component
Last updated
lowcodera Bar Chart Component
Last updated
Bar charts are typically used to compare several categories of data. Bar charts are ideal for visualizing the distribution or proportion of data items when there are more than three categories.
There are several variations of bar charts which are supported through configuration of data and component properties.
Basic Bar Chart
Grouped Bar Chart
Stacked Bar Chart
100% Stacked Bar Chart
Reversed Bar Chart
Bar Chart with markers
Image background Bar Chart
The data format for the bar chart is the same as for other XY charts. You can bind your chart component's items
property to a Power Apps collection which includes either static data or dynamic data e.g. SharePoint.
In this example, a collection with static data called colBarChart
is defined in the Power App. The items
property of the bar chart component is then bound to this collection.
The above code snippet will generate the following bar chart.
For a full listing of all chart properties see the chart components property reference
The properties below are the main ones which change this components appearance and behaviors.
More than one data series is defined in the data collection
More than one data series is defined in the data collection.
More than one data series is defined in the data collection. Use the same collection used for Stacked Bar chart.
More than one data series is defined in the data collection. Use the same collection used for Stacked Bar chart.
One or More than one data series is defined in the data collection.
One or More than one data series is defined in the data collection. You can use same collection created in Working with Data section.
Control Property
Description
Accepted Values
Required
ShowDistributed
Property to give each series a unique color.
Boolean
X
StackedType
Property to change sack type of a bar
None
Stacked
Stacked100
X
DataLabelSymbol
Property to add any symbol (eg. currency or any append words) along with data labels
Text
X
Show100HeightBar
Property to set 100% height of the bar
Boolean
X
ShowReversed
Property to represent the Y-Axis from the right side
Boolean
X
FillType
Property to choose fill type for bars.
Gradient
Image
Solid
X
BackgroundImage
Property to provide background image URL for bars
URL
X