Pie Chart

lowcodera Pie Chart Component

Purpose

Pie charts are best to use when you are trying to compare parts of a whole. They do not show changes over time.

Variations

There are several variations of Pie charts which are supported through the configuration of data and component properties.

  • Basic Pie Chart

  • Pie Chart with Image

  • Gradient Pie Chart

Working with Data

‌The data format for the Pie chart is the same as for other Lowcodera 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 ColPieChart is defined in the Power App. The items property of the pie chart component is then bound to this collection.

Table(
    {
        name: "Delivery",
        data: 5
    },
    {
        name: "Finance",
        data: 12
    },
    {
        name: "HR",
        data: 19
    },
    {
        name: "Planning",
        data: 25
    }
)

The above code snippet will generate the following Pie chart.

Chart Properties

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 behaviours.

Property

Description

Accepted Values

Required

DataLabelSymbol

Property to add any symbol (eg. currency or any appened words) along with data labels

Text

X

FillType

Property to choose fill type for pie chart.

Gradient

Image

Solid

X

BackgroundImage

Property to provide background image URL for pie chart

URL

X

StartAngle

Property to Set the starting Angle of the Pie or Doughnut Chart in degrees.

Numeric (ranges 0 to 360)

X

EndAngle

Property to Set the ending Angle of the Pie or Doughnut Chart in degrees.Numeric (ranges 0 to 360)

Numeric (ranges 0 to 360)

X

Examples

Pie Chart with Image

A single or multiple data series is defined in the collection. You can use the same collection used in section.

Gradient Pie Chart

A single or multiple data series is defined in the collection. You can use the same collection used in section.

Last updated