2020-02-29 00:56:22 +01:00
|
|
|
module.exports = {
|
|
|
|
threshold: 0.01,
|
|
|
|
config: {
|
|
|
|
type: 'line',
|
|
|
|
data: {
|
|
|
|
labels: ['2017', '2019', '2020', '2025', '2042'],
|
2020-06-21 14:30:34 +02:00
|
|
|
datasets: [{data: [0, 1, 2, 3, 4], fill: false}]
|
2020-02-29 00:56:22 +01:00
|
|
|
},
|
|
|
|
options: {
|
|
|
|
scales: {
|
|
|
|
x: {
|
2020-06-19 16:21:39 +02:00
|
|
|
type: 'timeseries',
|
2020-02-29 00:56:22 +01:00
|
|
|
min: '2012',
|
|
|
|
max: '2051',
|
|
|
|
offset: true,
|
|
|
|
time: {
|
|
|
|
parser: 'YYYY',
|
|
|
|
},
|
|
|
|
ticks: {
|
|
|
|
source: 'data'
|
2020-06-19 16:21:39 +02:00
|
|
|
}
|
2020-02-29 00:56:22 +01:00
|
|
|
},
|
|
|
|
y: {
|
|
|
|
display: false
|
|
|
|
}
|
2020-11-23 23:58:03 +01:00
|
|
|
}
|
2020-02-29 00:56:22 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
options: {
|
|
|
|
spriteText: true
|
|
|
|
}
|
|
|
|
};
|