Introduction

Getting started

Walkthrough Guides

CafeX Apps

Workflows

Using CafeX Collaborate App

Reporting

Managing CafeX

Integrating CafeX

Security

App Studio

App Studio Components

App Studio Components

Managing Progress Component

Modified on Wed, 15 Jan at 4:19 AM

TABLE OF CONTENTS


The Progress Component allows you to visually represent progress or completion status in your application. 


Appearance Settings


The Progress Component includes standard appearance settings, such as size and position, visibility, background, text, padding (for details on standard appearance settings, check the Altering the appearance of an App Studio Component article) and specific styling options for the progress elements: progress background and progress indicator. These settings depend on the selected progress type:


Progress typeProgress background settingsProgress indicator settings
BarColor
Border color
Border width
Bar style
Color
Border color
Border width
Bar style
LineColor
Border color
Border width
Stroke width
Line style
Color
Border color
Border width
Stroke width
Line style
PieColor
Border color
Border width
Color
DonutColor
Stroke width
Color
Stroke width
Line style


Configuration Settings


The following settings are available for the Progress Component:


SettingDescription
ValueSet the progress value between 0 and 100. This value determines the progress displayed by the component.
TypeSelect the progress display type: Bar, Line, Pie, or Donut.
Progress labelDisplay a label showing the progress percentage or a custom message. You can enhance the label by using mustache expressions. For more details on mustache expressions, refer to Understanding mustaches and expressions.
Tooltip textProvide additional information about the progress when users hover over the component.


Example: Task Completion Tracker


To illustrate the setup of a Progress Component, let’s create a Task Completion Tracker that displays the progress of a project.


To configure the Task Completion Tracker:

  1. Add the Progress Component onto the canvas.
  2. Set the Configuration. You can choose between a static or dynamic setup depending on your requirements.

    Static configuration: Use this setup when the progress value is fixed or predefined.
    ValueEnter 75 to represent 75% task completion.
    TypeSelect Donut for a circular display.
    Progress LabelEnable the label and set it to display 75% Complete.
    Tooltip TextEnter Project is 75% completed.

    Dynamic configuration: Use this setup to display progress that updates in real-time based on project data.
    ValueUse the mustache expression {{completedTasks / totalTasks * 100}} to calculate the percentage of completed tasks dynamically.
    TypeSelect Donut for a circular display.
    Progress LabelEnable the label and set it to display {{completedTasks / totalTasks * 100}}% Complete.
    Tooltip TextEnter {{completedTasks}} of {{totalTasks}} tasks completed.

  3. Customize the Appearance:

    Progress BackgroundSet the track color to #E0E0E0 and stroke width to 5.
    Progress Indicator SettingsSet the indicator color to #00ACC1FF, stroke width to 5, and line style to Round.

Add a heading above the Progress Component, such as Project Status, using a Text Component. Include a Button Component labeled View Details to navigate users to more information. The screenshot below shows the Progress Component configured as a Task Completion Tracker.


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article