✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🐇 Announcing Dash VTK for 3d simulation graphics. Check out the March webinar.

Plotly GANTT Chart Sorting?

It is possible to define the sort order of grouped tasks on the gantt chart…

Every time I reload the chart with new data it seems to randomly choose an order to list the groups down the y axis…

fig = ff.create_gantt(df, colors=colors, index_col='Resource', bar_width=.5,
                      show_colorbar=False, showgrid_x=False, showgrid_y=False, group_tasks=True)

Couldn’t find anything in documentation, would have to think there is a way to do this though…

Having the same issue. Any luck?


Could you post/upload somewhere your data, to try reproduce the random bar position?