Hello,
With the simple example below to create a Gantt chart, when the user clicks on a task, I want the information to just print to the console. I saw the use of the click event on the scatter plot but I do not know how to adapt that example using the plotly.figure_factory as ff. The referenced scatter click event example is the following: https://plotly.com/python/click-events/
Thank you for viewing and your help!
RG
import plotly.figure_factory as ff
df = [dict(Task="A", Start='2020-01-01', Finish='2009-02-02'),
dict(Task="Job B", Start='2020-03-01', Finish='2020-11-11'),
dict(Task="Job C", Start='2020-08-06', Finish='2020-09-21')]
colors = ['#7a0504', (0.2, 0.7, 0.3), 'rgb(210, 60, 180)']
fig = ff.create_gantt(df, show_colorbar = True, colors = colors )
fig.show()