Skip to content

G02: Add gantt chart with Journeys Visualization#16

Open
dqmrf wants to merge 2 commits into
mainfrom
highcharts-gantt/02-journeys-visualization
Open

G02: Add gantt chart with Journeys Visualization#16
dqmrf wants to merge 2 commits into
mainfrom
highcharts-gantt/02-journeys-visualization

Conversation

@dqmrf

@dqmrf dqmrf commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@dqmrf dqmrf requested a review from jedrzejruta July 2, 2026 17:45

@jedrzejruta jedrzejruta left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nicely done!

Almost there, besides my inline comments one thing to adjust regarding 3rd point of this exercise:

  1. Add a drag and drop functionality in the x dimension (except the last point that shows the international flight)

The last point is draggable, even though it shouldn't be.

events: {
load() {
// Navigator doesn't display all data on start by default...
this.series.forEach(s => s.update({}, false));

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like you've found the issue with Navigator not rendering the rows correctly, that's is a really nice workaround!

Comment on lines +19 to +23
labels: {
formatter: function () {
return `Day ${Math.floor((this.value - dateMin) / day) + 1}`;
}
}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of using labels.formatter there is an easier way, which automatically parses date into given format, do you know which option I'm thinking about?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably about dateTimeLabelFormats?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exactly!

},
navigator: {
enabled: true,
liveRedraw: false

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This option doesn't exist in the API

drilldown: 'norway-brazil-flight-full',
parent: 'international-flights',
dependency: ['flights', 'international-flights'],
color: 'orange',

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpicking, but the color of this point as well as the drilldown points doesn't match the gif colors exactly. Could you please update it?

@dqmrf dqmrf requested a review from jedrzejruta July 8, 2026 06:50

@jedrzejruta jedrzejruta left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work, thanks! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants