Pie Chart

Pie Chart

Kuika's Pie Chart element allows you to visually represent your data on a circular chart. This type of chart allows you to compare the proportions of different categories to the total by showing data in slices. It is especially ideal for showing market share, budget distribution or percentage distribution of data sets. This tutorial explains how to use the Pie Chart element, customize data configuration and visual arrangements.

The Pie Chart element is supported in web and mobile applications.

This training content consists of the following topics:

  • Adding a Pie Chart Element
  • Pie Chart Element Properties
  • Element Settings and Customization
Add Pie Chart Element
  1. Log in to the Kuika platform.
  2. Open the project you will work on from the Apps screen.
  1. In the UI Design module, select the Pie Chart element under the Chart category from the Elements panel on the left side.
  2. Drag and drop the element to the desired area.
    • If you drag it to an empty space, it will be added with the Row element.
    • If you drag it into a Column, only the Pie Chart element is added.
Pie Chart Element Properties

You can configure the following settings in the Properties panel:

Datasource:

  • Action field, select the data field you want to view.

The following data settings cannot be displayed when you have not added an action to the Datasource.

  • Data Label: Determines the data label to be displayed on the chart.
  • Tooltip Custom Title Data Label: Sets the data label to appear in the Tooltip title.
  • Tooltip Custom Content Data Label: Descriptive data label to be shown in the Tooltip content.
  • Multi Tooltip Content Fields: Allows you to show multiple data fields in the Tooltip.
  • Data Field: This is the field where you define the main data series.
  • Data Bg Color: Sets the background color of the main data field.
  • Second Data Field: Used to define a second data series on the chart.
  • Second Data Bg Color: Sets the background color of the second data series.
  • Third Data Field: Used to add a third data series.
  • Data Bg Color: Sets the background color of the third data series.

Legend:

  • Click on the data in the DataSource section to hide a specific slice.

Show Data Labels:

  • Toggle the Switch button to show the labels for each slice on the chart.

Data Label Formatter:

  • Customize the labels of the data slices.

Data Structure:

  • To use the Pie Chart element, each value field must be associated with a label field. The following SQL code shows a sample data structure:
SELECT 'Category A' AS category, 45 AS valueUNION ALL SELECT 'Category B', 30UNION ALL SELECT 'Category C', 15UNION ALL SELECT 'Category D', 10;

Element Settings and Customization

Authorization

  • Anonymous Access: Allows users to access without entering account information.
  • All Roles Access: Provides access by verifying users' account information.
  • For element-level authorization, edit Authorization settings in the Properties panel.

Visibility

  • Always Visible: Element is always visible.
  • Hidden: Element is hidden.
  • Sometimes Visible: The element is visible depending on a specific condition.

To configure the setting:

  1. Select the element on the screen.
  2. Open the Properties panel on the right edge.
  3. In the Visibility field, select an option according to your needs.

Editability

  • Enabled: Elements can be edited.
  • Disabled: Element cannot be edited.
  • Sometimes Enabled: The element can be edited or uneditable according to certain conditions.

Interface Design with Style Panel

By customizing your elements with the Styling Panel, you can create impressive interfaces for your web and mobile applications. In this section, you can configure the following settings:

  • Layout: Sizing, alignment and padding settings. Settings include Size, Min Size and Align.
  • Text: Font, style, color, size and spacing settings.
  • Fill: Customize the background with color or images.
  • Border: Add borders and corner radius settings.
  • Shadow: Add a shadow effect to add depth to elements.

By following these steps, you can configure the Area Chart element to suit your needs.

Actions

Kuika supports the following system actions:

  • Arithmetic, Authorization, Condition, Device, Export, Geolocation, Inversion, Local Storage, Multi Language, Navigation, Notification, Payment, UI Control, Process Administration, Process Automation, Trigger, Process Automation, Process Administration and String Operations.
  • You can also use SQL actions that you create yourself.
  • You can use the +ADD ACTION button from the Properties panel to add an action.
Actions support may not be available in some elements.

Other Related Content

No items found.

Glossary

No items found.

Alt Başlıklar