improved activity chart
This commit is contained in:
@@ -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)
|
||||
|
||||
BIN
rowers/tests/testdata/testdata.csv.gz
vendored
BIN
rowers/tests/testdata/testdata.csv.gz
vendored
Binary file not shown.
Reference in New Issue
Block a user