2021-03-09 14:35:43 +01:00
|
|
|
module.exports = {
|
|
|
|
config: {
|
|
|
|
type: 'line',
|
|
|
|
options: {
|
|
|
|
events: [],
|
|
|
|
scales: {
|
|
|
|
top: {
|
|
|
|
type: 'linear',
|
|
|
|
position: 'top',
|
|
|
|
ticks: {
|
|
|
|
display: false
|
|
|
|
},
|
2021-03-13 18:49:09 +01:00
|
|
|
grid: {
|
2021-03-09 14:35:43 +01:00
|
|
|
display: false
|
|
|
|
},
|
|
|
|
title: {
|
|
|
|
display: true,
|
|
|
|
align: 'start',
|
|
|
|
text: 'top'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
left: {
|
|
|
|
type: 'linear',
|
|
|
|
position: 'left',
|
|
|
|
ticks: {
|
|
|
|
display: false
|
|
|
|
},
|
2021-03-13 18:49:09 +01:00
|
|
|
grid: {
|
2021-03-09 14:35:43 +01:00
|
|
|
display: false
|
|
|
|
},
|
|
|
|
title: {
|
|
|
|
display: true,
|
|
|
|
align: 'start',
|
|
|
|
text: 'left'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
bottom: {
|
|
|
|
type: 'linear',
|
|
|
|
position: 'bottom',
|
|
|
|
ticks: {
|
|
|
|
display: false
|
|
|
|
},
|
2021-03-13 18:49:09 +01:00
|
|
|
grid: {
|
2021-03-09 14:35:43 +01:00
|
|
|
display: false
|
|
|
|
},
|
|
|
|
title: {
|
|
|
|
display: true,
|
|
|
|
align: 'start',
|
|
|
|
text: 'bottom'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
right: {
|
|
|
|
type: 'linear',
|
|
|
|
position: 'right',
|
|
|
|
ticks: {
|
|
|
|
display: false
|
|
|
|
},
|
2021-03-13 18:49:09 +01:00
|
|
|
grid: {
|
2021-03-09 14:35:43 +01:00
|
|
|
display: false
|
|
|
|
},
|
|
|
|
title: {
|
|
|
|
display: true,
|
|
|
|
align: 'start',
|
|
|
|
text: 'right'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
options: {
|
|
|
|
spriteText: true,
|
|
|
|
canvas: {
|
|
|
|
height: 256,
|
|
|
|
width: 256
|
|
|
|
},
|
|
|
|
}
|
|
|
|
};
|