Private
Public Access
1
0

improved activity chart

This commit is contained in:
Sander Roosendaal
2019-03-11 20:18:13 +01:00
parent 96277463a7
commit 9e06059126
3 changed files with 14 additions and 3 deletions

View File

@@ -316,8 +316,8 @@ def interactive_activitychart(workouts,startdate,enddate,stack='type'):
bars=table.to.bars(['date',stack],['duration'])
bars.opts(
opts.Bars(color=hv.Cycle('Category10'), show_legend=True, stacked=True,
tools=['hover'], width=600, xrotation=90,))
# legend_position='bottom',show_frame=True))
tools=['hover'], width=550, xrotation=45,padding=(0,(0,.1)),
legend_position='bottom',show_frame=True))
p = hv.render(bars)

Binary file not shown.