Releases: apexcharts/apexgantt
Releases · apexcharts/apexgantt
💎 Version 3.1.0
🎉 New Features
Data Parsing
- Added data parsing functionality to improve data handling and transformation capabilities
Scrolling
- Implemented unified scroller for tasks and timelines
- Fixed scroll synchronization between tasks and timeline panes
- Improved horizontal scrollbar positioning and stability across zoom levels
🐛 Bug Fixes
Scrollbar Improvements
- Fixed horizontal scrollbar positioning in shadow DOM
- Improved dark theme scrollbar styling
- Resolved scrollbar sticking to bottom issue
- Fixed horizontal scrollbar updates during zoom operations
- Forcefully hide horizontal scrollbars under headers to prevent visual conflicts
Export Functionality
- General export functionality improvements
Rendering & State Management
- Properties now correctly reset to defaults when set to
undefinedduring updates - Create empty rows automatically to avoid blank white space
- Replaced table elements with div-based task rendering for better performance
Type Safety
- Fixed type error by making
levelproperty optional in task objects
🔧 Internal Changes
- Implemented state manager for better state handling
💎 Version 3.0.0
Release v3.0.0
Shadow DOM Support
ApexGantt now works seamlessly in Shadow DOM environments with support for multiple isolated instances.
Theme System
Built-in light and dark themes with easy customization:
const gantt = new ApexGantt(container, {
theme: 'dark',
series: tasks
});Event System
Listen to task updates with CustomEvents:
import { GanttEvents } from 'apexgantt';
container.addEventListener(GanttEvents.TASK_UPDATE_SUCCESS, (e) => {
const { updatedTask } = e.detail;
// sync with backend
});Available events: taskUpdate, taskUpdateSuccess, taskValidationError, taskUpdateError
⚠️ Breaking Changes
- Internal context management refactored
- Task updates now emit events
🐛 Bug Fixes
- Fixed tooltip positioning and behavior
- Improved scrollbar synchronization
- Fixed dependency arrows disappearing on interaction
- Resolved zoom functionality in isolated contexts
- Fixed milestone row background colors
- Improved expand/collapse button positioning
- Better height/width option handling