Open
Conversation
…eedTimeIntervalBuffer, improve GanttUtils documentation and demo
…endering - Created GanttTask model class to represent indivdual tasks - Created GanttChartData container for managing task colection - Created GanttChart custom View that renders via Canvas - Updated GanttUtils with factory methods for the new model - Updated TimeIntervalChartActivity demo to use new GanttChart - Removed reliance on HorizontalBarChart stacked bar rendering
- Adjusted task height and padding for better proportions - Reduced font sizes for cleaner appearance - Added border strokes to task bars - Improved spacing between tasks - Better margin calculations for chart area - Enhanced grid line styling
- Increased task height for better readability - Repositioned labels to align properly on left side - Increased label column width for task names - Better vertical centering of labels within bars - Improved spacing between tasks - Enhanced font sizing for labels
hannesa2
reviewed
Apr 3, 2026
| import com.github.mikephil.charting.data.GanttChartData; | ||
| import com.github.mikephil.charting.data.GanttTask; | ||
|
|
||
| public class GanttChart extends View { |
Contributor
There was a problem hiding this comment.
it doesn't extends Chart
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

PR Checklist:
PR Description
What does this add/remove/fix/change?
Adds native Gantt chart support via a new
GanttChartview. Includes task model, data container, utils, and basic docs.Key Features:
The feature Fills a missing feature in the library. Provides a clean built-in solution instead of workarounds. Doesn't break anything and follows existing patterns.