diff --git a/rowers/interactiveplots.py b/rowers/interactiveplots.py index 57c1491b..99ca8996 100644 --- a/rowers/interactiveplots.py +++ b/rowers/interactiveplots.py @@ -4066,6 +4066,34 @@ def interactive_cum_flex_chart2(theworkouts, promember=0, ytrend = func(x1, popt[0], popt[1]) datadf['ytrend'] = ytrend + chart_data = { + 'title': 'Some Chart', + 'data': [ + { + 'ftime': '03:00.0', + 'workout': 'a', + 'spm': 24, + 'distance':1000 + }, + { + 'ftime': '03:00.0', + 'workout': 'a', + 'spm': 24, + 'distance':1000 + }, + { + 'ftime': '03:00.0', + 'workout': 'a', + 'spm': 24, + 'distance':1000 + }, + ] + } + + script, div = get_chart("/dots", chart_data) + + return script, div + source = ColumnDataSource( datadf )