Lowcoder Documentation
  • Lowcoder overview
    • The "Hello World" walk
  • 🆕Setup and run
    • Cloud & Private Cloud
    • Self-hosting
      • Google Cloud Platform
      • Easypanel
      • Heroku
      • Raspberry Pi
      • Access local database or API
      • Update MongoDB Versions
      • Lowcoder Version Update
      • Traefik loadbalancer
      • SMTP Server
      • Migration from Openblocks
    • Security
    • Lowcoder Enterprise Edition
      • Ordering the Enterprise Edition
      • Installing Enterprise Edition
      • Enterprise Edition Features
        • Environments
          • Setting up an Environment
          • Environment Details
        • Audit Logs
        • App Usage Analytics
        • Branding & Whitelabel
  • 🏨Workspaces & Teamwork
    • Workspaces
      • Multi-Workspace Mode
      • Single Workspace Mode
    • Members and Groups
    • Permissions for Resources
    • OAuth
      • KeyCloak
      • Google
      • GitHub
      • Generic OAuth Provider
    • Query library
    • Lowcoder Marketplace
  • ✨Build Applications
    • Create a new App
      • App(s) Navigation
      • Modules
      • Version and Release Management
    • App Editor
      • Query & Editing Roundtrips
      • Bulk Editing
      • Keyboard shortcuts
      • Data selection & Javascript
      • Layers
      • Visual Components
        • Common Component Settings
        • Messages / Toast
        • Dashboard & Reporting
          • Table
          • Charts and graphs
            • Bar Chart
            • Line Chart
            • Pie Chart
            • Scatter Chart
            • CandleStick Chart
            • Funnel Chart
            • Gauge Chart
            • Graph Chart
            • Heatmap Chart
            • Radar Chart
            • Sankey Chart
            • Suburst Chart
            • Theme River Chart
            • Tree Chart
            • Treemap Chart
            • Mermaid Chart
          • Google Maps
          • Timeline
        • Layout & Navigation
          • List View
          • Drawer
          • Modal
          • Navigation
          • Cascader
          • Tree / Tree Select
          • Link
          • Floating Button
          • Text
          • Step Control
          • Page Layout
          • Content Card
          • Tabbed Container
        • Data Collection & Forms
          • Form
          • Input Field Types
          • JSON Schema Form
          • Dropdown
          • Select & MultiSelect components
          • Rating
          • Checkbox
          • Switch
          • Toggle Button
          • Radio
        • Meeting & Collaboration
          • Avatar & Avatar Group
          • Comment
        • Project Management
          • Kanban
          • Gantt Chart
        • Calendar & Scheduling
          • Calendar
          • Date & Date Range
          • Time & Time Range
        • Document & File Management
          • File upload
          • Transfer
        • Item & Signature Handling
          • QRCode
          • Scanner
        • Multimedia & Animation
          • Image
          • Lottie Animation
          • Image Carousel
          • Video
          • Audio
          • Image Editor
          • Color Picker
        • Integration & Extension
        • Legacy & Deprecated
      • Option lists
      • Date handling
      • Use Markdown
    • App Interaction
      • Event handlers
    • Themes & Styling
      • Design an efficient and user-friendly form
      • Customize Styles
      • Component Styling Possibilities
    • Video Calls in Lowcoder
  • 🚀Connect your Data
    • Data source basics
      • Configure IP allowlists
    • Data sources in Lowcoder
      • APIs as Datasource
        • REST API
        • GraphQL
        • Google Sheets
      • SQL Databases
        • MySQL
        • MariaDB
        • Supabase
          • Supabase PostgreSQL
          • Supabase Assets API
          • Supabase RealTime
          • Supabase OAuth
        • PostgreSQL
        • Microsoft SQL Server
        • Oracle
      • NoSQL Databases
        • MongoDB
        • CouchDB
        • DynamoDB
      • InMemory Databases
        • Redis
      • File Storages
        • S3 File Storage
      • BigData & OLAP
        • Big Query
        • Snowflake
        • ClickHouse
        • Elasticsearch
      • Websocket Datasource
    • Query basics
      • Bind Query Data to Components
      • Query library
  • 🪄Workflows
    • n8n Integration
  • 💫Business Logic in Apps
    • Write JavaScript
      • JavaScript query
      • Temporary state
      • Transformers
      • Data responder
      • Built-in JS functions
  • 🙌Publish Apps
    • Share an App
    • Publish an App
    • Embed an App
      • Embed App in HTML Pages
      • Embed App in WordPress Pages
      • Embed Apps in React
      • Embed Apps in NEXT.JS
      • Native embed SDK
        • Build the SDK from Source
  • 🔥Lowcoder Extension
    • Opensource Contribution
      • Develop UI components for Apps
      • Develop Data Source Plugins
    • Use third-party libraries in Apps
      • Day.js Date handling
      • Import your own JavaScript Library
    • Custom component
    • Lowcoder Open REST API
  • Lowcoder for Enterprise
    • Custom branding
Powered by GitBook
LogoLogo

More to try...

  • Lowcoder Website
  • Free Cloud Platform
  • Github
  • Discord

© Lowcoder Software LTD

On this page
  • 📊 Gantt Chart Component in Lowcoder
  • 🔧 Key Features
  • 🛠 Configuration Options
  • ⚙️ Integration Tips
  • Component Playground
  • Component Auto-Docs
  • 📌 Use Cases

Was this helpful?

  1. Build Applications
  2. App Editor
  3. Visual Components
  4. Project Management

Gantt Chart

PreviousKanbanNextCalendar & Scheduling

Last updated 1 month ago

Was this helpful?

📊 Gantt Chart Component in Lowcoder

The Gantt Chart component in Lowcoder provides a dynamic and visual way to manage and visualize project timelines, tasks, and dependencies. It enables users to plan, schedule, and track project progress efficiently.

🔧 Key Features

  • Task Management: Create and manage tasks with attributes such as start/end dates, durations, progress indicators, and dependencies.

  • Multiple View Modes: Switch between various time scales including Hour, Day, Week, Month, and Year to suit project needs.

  • Interactive Editing: Support for drag-and-drop functionality to adjust task timelines directly within the chart.

  • Customizable Styling: Extensive options to style chart elements, including bar colors, text sizes, row heights, and more.

  • Event Handling: Handle events such as task date changes, clicks, deletions, and progress updates to trigger custom actions.

🛠 Configuration Options

  • Data Binding: Bind the Gantt Chart to dynamic data sources using JSON arrays to populate tasks.

  • Styling Sections:

    • Legend Header Style: Customize the header of the task list.

    • Legend Style: Style the task list area.

    • Tooltip Style: Define the appearance of tooltips displayed on hover.

    • Chart Style: Adjust the main chart's appearance, including bar colors and corner radius.

  • Event Handlers: Implement custom logic for events like task selection, updates, and deletions.

⚙️ Integration Tips

  • Dynamic Data Loading: Use queries to load tasks into the Gantt Chart based on specific criteria or filters.

  • Real-Time Updates: Implement event handlers to refresh the chart when data changes occur elsewhere in the application.

  • User Interaction Handling: Define actions to take when users interact with the chart, such as opening a task detail view when a bar is clicked.

Component Playground

On Component Playground, you can interact with the Gantt Chart component and explore it's Properties, Events and Methods. Play with different Styling properties to see the effect on the Gantt Chart component.

Component Auto-Docs

In the Auto-Docs of Gantt Chart component, we have shown how to use different properties of the Gantt Chart component. It also includes the Styling properties of the Gantt Chart component.

Properties of the Gantt Chart component

These properties are accessible in {{ }} notations, as well as in JavaScript Queries.

Property Name
Type
Description

hidden

Boolean

Returns True or False based on whether the Gantt Chartcomponent is hidden or not

data

Array

Returns an Array of Objects, containing data of the Gantt Chart's component

Events

Events give you the ability to trigger further actions (with Event-Handlers).

Event Name
Description

Task Clicked

Triggers, when a Task is clicked

Task Selected

Triggers, when a Task gets selected for the first time

Task Updated

Triggers, when a Task is updated

Task Deleted

Triggers, when a Task gets deleted

Task Date Changed

Triggers, when a Task's date is changed

Task Progress Changed

Triggers, when a Task's progress is changed

Methods

You have the capability to engage with components via their respective methods, which can be accessed by their designated names within any segment where JavaScript is utilized. Additionally, these components can be activated through the 'Control Component' action, which is triggered in response to specific events.

setData() :

ganttChart1.setData() method sets the Gantt Chart's Data property, which sets the data to be shown in the Gantt Chart component.

ganttChart1.setData([
    {
        "label": "Some Project",
        "start": "2025-04-29T12:45:00.000Z",
        "end": "2025-05-14T19:00:00.000Z",
        "id": "ProjectSample",
        "project": "",
        "progress": 25,
        "type": "project",
        "hideChildren": false,
        "displayOrder": 1,
        "dependencies": [
            ""
        ]
    },
    {
        "label": "Idea",
        "start": "2025-04-29T12:45:00.000Z",
        "end": "2025-04-30T17:23:00.000Z",
        "id": "Task 0",
        "project": "ProjectSample",
        "progress": 45,
        "type": "task",
        "hideChildren": false,
        "displayOrder": 2,
        "dependencies": [
            ""
        ]
    }
]);

getData() :

ganttChart1.getData() gets the Gantt Chart's data from the Data property.

ganttChart1.getData();

resetGanttTasks() :

ganttChart1.resetGanttTasks() method resets the Gantt Chart's Data property to the default value of the Gantt Chart component.

ganttChart1.resetGanttTasks();

📌 Use Cases

  • Project Management: Plan and track project tasks, timelines, and dependencies.

  • Resource Allocation: Visualize resource assignments and workloads over time.

Product Roadmapping: Outline product development phases and milestones.(, )

✨
npm
2025 Gantt Chart Template
Lowcoder | rapid App & VideoMeeting builder for everyone.
Lowcoder | rapid App & VideoMeeting builder for everyone.