Private
Public Access
1
0

fixing logged out view

This commit is contained in:
Sander Roosendaal
2019-11-18 15:55:54 +01:00
parent 01c02b2b02
commit 4508c75eee
3 changed files with 38 additions and 5 deletions

View File

@@ -2954,8 +2954,6 @@ def interactive_chart_video(videodata):
spm = videodata['spm']
time = range(len(spm))
data = zip(time,spm)
data2 = []
@@ -2985,7 +2983,27 @@ def interactive_chart_video(videodata):
var myChart = new Chart(ctx, {
type: 'scatter',
label: 'pace',
label: 'SPM',
animationSteps: 10,
options: {
legend: {
display: false,
},
scales: {
yAxes: [{
scaleLabel: {
display: true,
labelString: 'Stroke Rate'
}
}],
xAxes: [{
scaleLabel: {
display: true,
labelString: 'Time (seconds)'
}
}],
}
},
data:
{
datasets: [
@@ -3004,6 +3022,7 @@ def interactive_chart_video(videodata):
},
});
var marker = {
datapoint: %s ,
setLatLng: function (LatLng) {