Timeline

Timeline

Kuika's Timeline element provides a visual presentation of events or processes in a chronological order. It is used to track and visualize important events or developments in a given time period. The Timeline element helps users to better understand the stages of a process or project. For example, it is ideal for showing the progress of a project or the historical development of an event. In this tutorial, you will learn how to effectively create a timeline in your application using the Timeline element.

The Timeline element is supported in web and mobile applications.

Functions of the Timeline Element:

  • Visualize Events: Visually represents events and changes that have occurred over a period of time.
  • Tracking History: Users can view the time and sequence of events that occurred in the past.
  • Show Future Plans: Timeline also shows future events or plans, allowing users to keep track of their schedules going forward.

This training content consists of the following topics:

  • Adding a Timeline element
  • Timeline element properties
  • Timeline element usage
  • Element settings and customization
Add Timeline Element
  1. Log in to the Kuika platform.
  2. Select the project you will work on from the Apps screen.
  3. Enter the UI Design module.
  1. From the Elements panel on the left side, drag and drop the Timeline element under the Display category onto your screen.
Timeline Element Properties

You can configure the properties of the Timeline element in the Properties panel on the right edge.

  • Options: This is the area where action connections and data binding operations are performed. After an action connection is made, new properties are displayed in this field.

In order to use this field, you must first create a table in Datasource and then create SQL Actions.

  • Mode: Determines how the Timeline data will be displayed on the screen. You can choose from the following options:
    • Right: All events are displayed on the right side.
    • Left: All events are displayed on the left side.
    • Alternate: Events are displayed alternately on the right and left side (default setting).
Timeline Element Usage: Example with SQL Datasource

In this example, the Timeline element will display data by connecting to a SQL Datasource.

1. Creating a Datasource

  1. Enter the Datasource module.
  2. Create a new table and define the following variables:
    • title (String): Title of the event
    • description (String): Description of the event
    • color (String): Color code to be used for each event
  3. Create the table by clicking the CREATE button.

2. Create SQL Action

  1. Click on the + icon in the Actions section in the left panel.
  2. Select New SQL Action.
  3. Create a new SQL Action by entering the following SQL command:
SELECT * FROM timeline_datasource

      4. Complete the process by clicking the CREATE button.

3. Binding SQL Action to Timeline Element

  1. Select the Timeline element.
  2. Click the +Add Action button in the Properties panel on the right side.
  3. In the Search Box field, type the name of the SQL Action you created (for example, TimelineAll) and select the action.
  4. The selected action will be displayed in the Options field of the Timeline element.
  5. At this stage, match the data as follows:
    • Title: title
    • Description: description
    • Color: color

Important Notes

  • Using the Mode field you can set whether the Timeline is displayed right, left or alternately.
  • The Timeline element will automatically update as the data is updated.

Once you have done this, your Timeline element will now work with the data you have specified.

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

Glossary

No items found.

Alt Başlıklar