fixing logged out view
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user