switch from scatterWithErrorBars to lineWithErrorBars for nicer time display

This commit is contained in:
xenofem 2023-03-31 19:03:20 -04:00
parent 2e3538356c
commit 812e61ed67

View file

@ -192,13 +192,13 @@ function plot(data) {
data: { data: {
datasets: [ datasets: [
{ {
type: 'scatterWithErrorBars', type: 'lineWithErrorBars',
label: 'Measured value', label: 'Measured value',
data: northData, data: northData,
backgroundColor: 'rgba(0,0,255,0.5)', backgroundColor: 'rgba(0,0,255,0.5)',
color: 'rgba(0,0,255,0.5)', color: 'rgba(0,0,255,0.5)',
borderColor: 'rgba(0,0,255,0.5)', borderColor: 'rgba(0,0,255,0.5)',
spanGaps: true, showLine: false,
}, },
/* { /* {
type: 'line', type: 'line',
@ -248,13 +248,13 @@ function plot(data) {
data: { data: {
datasets: [ datasets: [
{ {
type: 'scatterWithErrorBars', type: 'lineWithErrorBars',
label: 'Measured value', label: 'Measured value',
data: southData, data: southData,
backgroundColor: 'rgba(255,0,0,0.5)', backgroundColor: 'rgba(255,0,0,0.5)',
color: 'rgba(255,0,0,0.5)', color: 'rgba(255,0,0,0.5)',
borderColor: 'rgba(255,0,0,0.5)', borderColor: 'rgba(255,0,0,0.5)',
spanGaps: true, showLine: false,
}, },
{ {
type: 'line', type: 'line',