Private
Public Access
1
0

working prototype Chart.js

This commit is contained in:
Sander Roosendaal
2019-11-17 16:41:38 +01:00
parent 797cc9ee40
commit 1393e5449c
3 changed files with 41 additions and 49 deletions

View File

@@ -203,7 +203,9 @@ def workout_video_create_view(request,id=0):
mapscript, mapdiv = leaflet_chart_video(data['latitude'],data['longitude'],
w.name)
else:
mapscript, mapdiv = interactive_chart_video(w.id)
mapscript, mapdiv = interactive_chart_video(data)
data['longitude'] = data['spm']
data['latitude'] = list(range(len(data['spm'])))
breadcrumbs = [
{
@@ -225,6 +227,8 @@ def workout_video_create_view(request,id=0):
template = 'embedded_video.html'
print(data['latitude'],'aap')
return render(request,
template,
{