working prototype Chart.js
This commit is contained in:
@@ -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,
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user