Private
Public Access
1
0

work in progress for cum_flex

This commit is contained in:
2024-03-14 21:05:20 +01:00
parent 2d891d767b
commit fb6fde0f88

View File

@@ -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
)