Change the hover in gannt chart

hello everyone,

I have a question regarding the hover on gantt chart which appears only when the cursor on edges, so, is it possible to see the text of hover on all line when the cursor on it?

from plotly import __version__
from plotly.offline import download_plotlyjs, init_notebook_mode, plot,iplot
from plotly.offline.offline import _plot_html
import pandas as pd
import plotly
import plotly.plotly as py
import plotly.figure_factory as ff

df = pd.DataFrame({'ObjectID': ['1', '1', '1', '1', '2', '2', '2', '3', '3', '3'],
               'Phase': ['phase1', 'phase1', 'phase0', 'phase0', 'phase1', 'phase1', '2', 'phase0', 'phase1', '2'],
               'StartDay': ['2016-12-1', '2017-3-2', '2017-8-1', '2017-9-1', '2016-11-10', '2016-12-5', '2016-12-9', '2017-5-11', '2017-5-12', '2017-8-17'],
               'EndDay': ['2017-3-22', '2017-8-21', '2017-9-21',  '2017-9-21', '2016-12-5', '2016-12-9',  '2017-9-21', '2017-5-12', '2017-8-17',  '2017-9-21']})

def ggant_plt(df):
    data = []
    for row in df.itertuples():
    data.append(dict(Task=str(row.ObjectID), Start=str(row.StartDay), Finish=str(row.EndDay), Resource=str(row.Phase)))

    fig = ff.create_gantt(data, index_col='Resource', reverse_colors=True, show_colorbar=True, group_tasks=True)

    py.plot(fig, filename='gantt-string-variable', world_readable=True)
return plotly.offline.plot(fig, filename='file.html')


Hi @Adag,

This is not directly possible at the moment using the figure factory. That said, it is possible to modify the figure after the figure factory returns it. It would take a bit of effort to line things up, but you could add a scatter trace with invisible markers to serve as a additional hover points.