LogoLogo
  • Getting Started
    • Overview
    • Download components
    • Installing Components
    • Using a component
    • lowcodera App Tokens
  • UI Components
    • lowcodera UI Assets
    • Button
    • Card
    • Date time picker
    • Dropdown Menu
    • Horizontal Navbar
    • Icon
    • PowerGrid
    • Progress Bar
    • TextBox
    • Vertical Navbar
  • Visualization Components
  • Area Chart
  • Bar Chart
  • Column Chart
  • Donut Chart
  • Heatmap Chart
  • Kanban Board
  • Swimlane
  • Line Chart
  • Mixed Chart
  • Pie Chart
  • Polar Chart
  • Radar Chart
  • Radial Chart
  • Strategic Roadmap
  • Scatter Chart
  • Timeline Chart
  • Properties Reference
    • UI Component Properties
    • Chart Component Properties
    • Navbar Schema
  • Page 1
Powered by GitBook
On this page
  • Purpose
  • Variations
  • Working with Data
  • Chart Properties
  • Examples
  • Donut Chart with Image
  • Donut Pie Chart

Was this helpful?

Donut Chart

Lowcodera Donut Chart Component

PreviousColumn ChartNextHeatmap Chart

Last updated 2 years ago

Was this helpful?

Purpose

Donut charts are used to show the proportions of categorical data, with the size of each piece representing the proportion of each category.

Variations

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

  • Basic Donut Chart

  • Donut Chart with Image

  • Gradient Donut Chart

Working with Data

‌The data format for the Donut 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 table with static data called ColDonutChart is defined in the Power App. The items property of the donut 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 Donut chart.

The below example represents, Dataverse table's data in a dynamic manner. The dataverse table structure looks like below:

The below code snippet will generate dynamic collection to be consumed by component.

ForAll(
    Projects,
    {
        name: ThisRecord.Category,
        data: Value(ThisRecord.Rate)
    }
)

All control properties can be left as default

Chart Properties

The properties below are the main ones which change this components appearance and behaviors.

Property

Description

Accepted Values

Required

DataLabelSymbol

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

Text

X

FillType

Property to choose fill type for donut chart.

Gradient

Image

Solid

X

BackgroundImage

Property to provide background image URL for donut

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

Donut Chart with Image

Donut Pie Chart

For a full listing of all chart properties see the

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

BackgroundImage property is set to URL (e.g. )

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

chart components property reference
https://images.pexels.com/photos/2246476/pexels-photo-2246476.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260
section
section