switch from scatterWithErrorBars to lineWithErrorBars for nicer time display
This commit is contained in:
parent
2e3538356c
commit
812e61ed67
|
@ -192,13 +192,13 @@ function plot(data) {
|
|||
data: {
|
||||
datasets: [
|
||||
{
|
||||
type: 'scatterWithErrorBars',
|
||||
type: 'lineWithErrorBars',
|
||||
label: 'Measured value',
|
||||
data: northData,
|
||||
backgroundColor: 'rgba(0,0,255,0.5)',
|
||||
color: 'rgba(0,0,255,0.5)',
|
||||
borderColor: 'rgba(0,0,255,0.5)',
|
||||
spanGaps: true,
|
||||
showLine: false,
|
||||
},
|
||||
/* {
|
||||
type: 'line',
|
||||
|
@ -248,13 +248,13 @@ function plot(data) {
|
|||
data: {
|
||||
datasets: [
|
||||
{
|
||||
type: 'scatterWithErrorBars',
|
||||
type: 'lineWithErrorBars',
|
||||
label: 'Measured value',
|
||||
data: southData,
|
||||
backgroundColor: 'rgba(255,0,0,0.5)',
|
||||
color: 'rgba(255,0,0,0.5)',
|
||||
borderColor: 'rgba(255,0,0,0.5)',
|
||||
spanGaps: true,
|
||||
showLine: false,
|
||||
},
|
||||
{
|
||||
type: 'line',
|
||||
|
|
Loading…
Reference in a new issue