Black Lives Matter. Please consider donating to Campaign Zero's mission of ending police violence in America.
https://www.joincampaignzero.org

Plotly GANTT chart sorting? - Dash

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…