Chart refinements
This commit is contained in:
@@ -2986,6 +2986,9 @@ def interactive_chart_video(videodata):
|
||||
legend: {
|
||||
display: false,
|
||||
},
|
||||
animation: {
|
||||
duration: 100,
|
||||
},
|
||||
scales: {
|
||||
yAxes: [{
|
||||
scaleLabel: {
|
||||
@@ -2995,6 +2998,7 @@ def interactive_chart_video(videodata):
|
||||
}],
|
||||
xAxes: [{
|
||||
scaleLabel: {
|
||||
type: 'linear',
|
||||
display: true,
|
||||
labelString: 'Time (seconds)'
|
||||
}
|
||||
@@ -3013,6 +3017,14 @@ def interactive_chart_video(videodata):
|
||||
{
|
||||
label: 'spm',
|
||||
data: data,
|
||||
backgroundColor: "#ff0000",
|
||||
borderColor: "#ff0000",
|
||||
fill: false,
|
||||
borderDash: [0, 0],
|
||||
pointRadius: 1,
|
||||
pointHoverRadius: 1,
|
||||
showLine: true,
|
||||
tension: 0,
|
||||
},
|
||||
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user