Private
Public Access
1
0
This commit is contained in:
2024-09-30 14:32:08 +02:00
parent 201bb6c50f
commit 29c67e9ea7

View File

@@ -442,7 +442,6 @@ def interactive_activitychart2(workouts, startdate, enddate, stack='type',
'colors': mytypes.color_map, 'colors': mytypes.color_map,
} }
script, div = get_chart("/activity_bar", chart_data, debug=False) script, div = get_chart("/activity_bar", chart_data, debug=False)
return script, div return script, div
@@ -1725,7 +1724,7 @@ def interactive_flexchart_stacked(id, r, xparam='time',
rowdata = rowdata.with_columns( rowdata = rowdata.with_columns(
column = column_ew column = column_ew
) )
except KeyError: except (KeyError, ColumnNotFoundError):
pass pass
if len(rowdata) < 2: if len(rowdata) < 2: