harmdevries commited on
Commit
959888e
1 Parent(s): 32d65b5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -0
app.py CHANGED
@@ -22,6 +22,20 @@ colors = {'not started': 'rgb(220, 0, 0)',
22
  'incomplete': (1, 0.9, 0.16),
23
  'complete': 'rgb(0, 255, 100)'}
24
 
 
 
25
  fig = ff.create_gantt(df, colors=colors, index_col='Resource', show_colorbar=True)
 
 
 
 
 
 
 
 
 
 
 
 
26
  st.plotly_chart(fig)
27
 
 
22
  'incomplete': (1, 0.9, 0.16),
23
  'complete': 'rgb(0, 255, 100)'}
24
 
25
+
26
+
27
  fig = ff.create_gantt(df, colors=colors, index_col='Resource', show_colorbar=True)
28
+ fig.update_xaxes(ticks= "outside",
29
+ ticklabelmode= "period",
30
+ tickcolor= "black",
31
+ ticklen=10,
32
+ minor=dict(
33
+ ticklen=4,
34
+ dtick=7*24*60*60*1000,
35
+ tick0="2016-07-03",
36
+ griddash='dot',
37
+ gridcolor='white')
38
+ )
39
+
40
  st.plotly_chart(fig)
41